Commit 105fd95
feat: Angular SDK (#997)
<!-- Please use this template for your pull request. -->
<!-- Please use the sections that you need and delete other sections -->
## This PR
<!-- add the description of the PR here -->
Adds an Angular SDK as discussed in #976.
It mainly provides directives that conditionally render based on flag
value and provider state.
I did not inject any OpenFeature service or anything like that, as I
think the directives will be the way to access feature flags in the
templates, and the OpenFeature global API can be used directly in
services. But I am not 100% sure on that one.
Happy to receive feedback and opinions :)
A small test app can be found here:
https://github.com/open-feature/angular-test-app
This can be used with [yalc](https://github.com/wclr/yalc).
---------
Signed-off-by: Lukas Reining <[email protected]>
Co-authored-by: Todd Baert <[email protected]>1 parent 86e7103 commit 105fd95
File tree
26 files changed
+21136
-6352
lines changed- packages/angular
- projects/angular-sdk
- src
- lib
- test
26 files changed
+21136
-6352
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
189 | 189 | | |
190 | 190 | | |
191 | 191 | | |
| 192 | + | |
192 | 193 | | |
193 | 194 | | |
194 | 195 | | |
| |||
0 commit comments