Commit Graph

11 Commits

Author SHA1 Message Date
renovate[bot] 2003666eaa
chore(deps): update dependency openfeature to 2.7.0 (#144)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-03 17:09:14 +00:00
Brianna Bland 288023c5dd
feat: basic object flags (#141)
Signed-off-by: bblandSigned-off-by: bbland1 <104288486+bbland1@users.noreply.github.com>
2025-06-22 10:34:35 -04:00
Aditya Kumar b867485101
feat: integration tests for nodejs generator (#140)
* feat: add renovate.json file #122

Signed-off-by: Adityasinghvats <131326798+Adityasinghvats@users.noreply.github.com>

* chore: remove packageRules from renovate.json

Signed-off-by: Adityasinghvats <131326798+Adityasinghvats@users.noreply.github.com>

* feat(nodejs-integration): add Node.js integration test and related files

Signed-off-by: Adityasinghvats <131326798+Adityasinghvats@users.noreply.github.com>

* feat: integration tests for nodejs generator (#117)

Signed-off-by: Adityasinghvats <131326798+Adityasinghvats@users.noreply.github.com>

* fix: fix whitespace issue in Makefile

Signed-off-by: Adityasinghvats <131326798+Adityasinghvats@users.noreply.github.com>

* fix: fix whitespace issue in Makefile

Signed-off-by: Adityasinghvats <131326798+Adityasinghvats@users.noreply.github.com>

* fix: fix whitespaces in Makefile

Signed-off-by: Adityasinghvats <131326798+Adityasinghvats@users.noreply.github.com>

---------

Signed-off-by: Adityasinghvats <131326798+Adityasinghvats@users.noreply.github.com>
2025-06-13 18:39:52 +00:00
Gayatri Chakkithara 6145c2e15d
test: add Go integration test (#125)
* go integration test

Signed-off-by: redpinecube <tara.chakkithara@icloud.com>

* fixed go integration test

Signed-off-by: redpinecube <tara.chakkithara@icloud.com>

* Update test/go-integration/test.go

Co-authored-by: Roman Dmytrenko <rdmytrenko@gmail.com>
Signed-off-by: Gayatri Chakkithara <113033661+redpinecube@users.noreply.github.com>

* Update test/go-integration/test.go

Co-authored-by: Roman Dmytrenko <rdmytrenko@gmail.com>
Signed-off-by: Gayatri Chakkithara <113033661+redpinecube@users.noreply.github.com>

* Update test/go-integration/test.go

Co-authored-by: Roman Dmytrenko <rdmytrenko@gmail.com>
Signed-off-by: Gayatri Chakkithara <113033661+redpinecube@users.noreply.github.com>

* cleanup the test

Signed-off-by: Roman Dmytrenko <rdmytrenko@gmail.com>

---------

Signed-off-by: redpinecube <tara.chakkithara@icloud.com>
Signed-off-by: Gayatri Chakkithara <113033661+redpinecube@users.noreply.github.com>
Signed-off-by: Roman Dmytrenko <rdmytrenko@gmail.com>
Co-authored-by: Roman Dmytrenko <rdmytrenko@gmail.com>
Co-authored-by: Michael Beemer <beeme1mr@users.noreply.github.com>
2025-06-12 16:00:46 +00:00
renovate[bot] 5d7a60754a
chore(deps): update dependency microsoft.extensions.dependencyinjection to 9.0.6 (#138)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-10 22:36:59 +00:00
renovate[bot] 51232fea1c
chore(deps): update dependency microsoft.extensions.dependencyinjection to v9 (#133)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-09 14:01:49 +00:00
renovate[bot] 35533dceb0
chore(deps): update dependency openfeature to 2.6.0 (#131)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-07 21:48:40 +00:00
renovate[bot] 3ec8443823
chore(deps): update dependency microsoft.extensions.dependencyinjection to 8.0.1 (#127)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-07 16:06:18 +00:00
Sahid Velji bcd11ea9c8
chore: fix the directory structure (#121)
* chore: fix the directory structure

Signed-off-by: Sahid Velji <sahidvelji@gmail.com>

* chore: upgrade dependencies (#123)

Signed-off-by: Sahid Velji <sahidvelji@gmail.com>

---------

Signed-off-by: Sahid Velji <sahidvelji@gmail.com>
2025-05-31 18:13:14 +00:00
Kris Coleman 96f4cde0f8
feat: introduce dagger for integration testing and ci (#100)
* feat: introduce dagger for integration testing and ci

Signed-off-by: Kris Coleman <kriscodeman@gmail.com>

* feat: make integration testing extensible and modular

my intention here is to make the pattern for integration testing more accessible.
let's abstract the integration test pattern itself into a framework to harness the boiler plate.
then reuse our csharp integration test code as our first integration-test.

Signed-off-by: Kris Coleman <kriscodeman@gmail.com>

---------

Signed-off-by: Kris Coleman <kriscodeman@gmail.com>
2025-05-06 18:08:32 +00:00
Kris Coleman ae645813c4
feat(csharp): added generator and integration tests (#97)
* feat: adds c# generator

Adds a new generator for C# to create typesafe clients.
This allows users to generate C# code based on feature flag
definitions, streamlining integration with .NET applications.
Includes necessary command-line flags, templates, and tests.

Signed-off-by: Kris Coleman <kriscodeman@gmail.com>

* feat(csharp): adds C# generator integration test

Adds a C# code generator integration test to ensure the generated C# code compiles correctly.

This includes:
- A new C# generator based on templates
- Updates to the build process and documentation to support C# generation and testing
- An integration test using Docker to compile the generated C# code
- Fixes and adjustments to data type mappings for C# compatibility

Signed-off-by: Kris Coleman <kriscodeman@gmail.com>

* chore: go fmt fixes

Signed-off-by: Kris Coleman <kriscodeman@gmail.com>

* Update .github/workflows/csharp-integration.yml

Co-authored-by: André Silva <2493377+askpt@users.noreply.github.com>
Signed-off-by: Kris Coleman <kris.blacksuitmedia@gmail.com>
Signed-off-by: Kris Coleman <kriscodeman@gmail.com>

* Update CONTRIBUTING.md

Co-authored-by: André Silva <2493377+askpt@users.noreply.github.com>
Signed-off-by: Kris Coleman <kris.blacksuitmedia@gmail.com>
Signed-off-by: Kris Coleman <kriscodeman@gmail.com>

* Update internal/generators/csharp/csharp.go

Co-authored-by: André Silva <2493377+askpt@users.noreply.github.com>
Signed-off-by: Kris Coleman <kris.blacksuitmedia@gmail.com>
Signed-off-by: Kris Coleman <kriscodeman@gmail.com>

* chore(ci): moved the csharp integration into pr-test workflow as a separate job

Signed-off-by: Kris Coleman <kriscodeman@gmail.com>

* chore: cleaned up generate code to private funcs are private

Signed-off-by: Kris Coleman <kriscodeman@gmail.com>

* feat(csharp): implemented di for generated code

- updated openfeature to 2.3.2
- introduced IServiceCollection and DI patterns
- updated tests and expectations

Signed-off-by: Kris Coleman <kriscodeman@gmail.com>

* Update .github/workflows/pr-test.yml

Co-authored-by: Michael Beemer <beeme1mr@users.noreply.github.com>
Signed-off-by: Kris Coleman <kris.blacksuitmedia@gmail.com>

* Update .github/workflows/pr-test.yml

Co-authored-by: Michael Beemer <beeme1mr@users.noreply.github.com>
Signed-off-by: Kris Coleman <kris.blacksuitmedia@gmail.com>

---------

Signed-off-by: Kris Coleman <kriscodeman@gmail.com>
Signed-off-by: Kris Coleman <kris.blacksuitmedia@gmail.com>
Co-authored-by: André Silva <2493377+askpt@users.noreply.github.com>
Co-authored-by: Michael Beemer <beeme1mr@users.noreply.github.com>
2025-04-14 17:40:52 +00:00