Commit cd4bc4b
committed
feat: only warn about missing feature context fields when feature is used
- Added `noUncheckedIndexedAccess` option to `tsconfig.json` for stricter type checking.
- Modified `getFeatureDefinitions` method to now return synchronous`FeatureDefinition[]`.
- Enhanced error handling in `_getFeaturesRemote` method (no longer returns undefined, bug).
- Updated tests to reflect changes in feature handling and context warnings.1 parent b511473 commit cd4bc4b
File tree
8 files changed
+214
-224
lines changed- packages
- node-sdk
- src
- test
- openfeature-node-provider
- src
8 files changed
+214
-224
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
0 commit comments