Skip to content

Commit ea36a20

Browse files
authored
refactor(generator/angular): extend FeatureFlagDirective<T> instead of using hostDirectives (#218)
* chore: ignore obj/ folder from csharp integration test Signed-off-by: backtrack5r3 <[email protected]> * test(generator): add smoke test for angular generator This test is currently failing and that what we want. First write a test that fail, then fix it. Signed-off-by: backtrack5r3 <[email protected]> * refactor(generator): switch to custom directive for Angular Remove the usage of typed directive exposed in angular SDK in flavor of custom forked directive. Signed-off-by: backtrack5r3 <[email protected]> * chore: bump web-sdk/angular-sdk Signed-off-by: backtrack5r3 <[email protected]> * docs: refine generated JSDOC Signed-off-by: backtrack5r3 <[email protected]> --------- Signed-off-by: backtrack5r3 <[email protected]>
1 parent d139f9e commit ea36a20

10 files changed

Lines changed: 949 additions & 327 deletions

File tree

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,3 +46,6 @@ openfeature
4646

4747
# Build output directory
4848
/bin
49+
50+
# test output
51+
**/obj/

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,9 @@ openfeature generate typescript --output ./src/flags
225225

226226
See [here](./docs/commands/openfeature_generate.md) for all available options.
227227

228+
> **_NOTE:_**
229+
> Angular generated code requires `@openfeature/angular-sdk` version `1.1.0` or newer.
230+
228231
### `pull`
229232

230233
Fetch feature flag configurations from a remote source.

0 commit comments

Comments
 (0)