js-sdk/packages/nest/test
Kaushal Kapasi 59b8fe904f
feat: adds RequireFlagsEnabled decorator (#1159)
## This PR
- Feature: Adds a `RequireFlagsEnabled` decorator to allow a simple,
reusable way to block access to a specific controller or endpoint based
on the value of a list of one, or many, boolean flags

### Notes
- Discussions on the approach & implementation are welcome!

### Follow-up Tasks
- Update OpenFeature NestJS docs to include new `RequireFlagsEnabled`
decorator & usage examples

### How to test
`npx jest --selectProject=nest`

---------

Signed-off-by: Kaushal Kapasi <kaushal.kapasi@taplytics.com>
Signed-off-by: Todd Baert <todd.baert@dynatrace.com>
Co-authored-by: Todd Baert <todd.baert@dynatrace.com>
2025-04-24 13:32:55 +00:00
..
fixtures.ts feat: adds RequireFlagsEnabled decorator (#1159) 2025-04-24 13:32:55 +00:00
open-feature-sdk.spec.ts feat: adds RequireFlagsEnabled decorator (#1159) 2025-04-24 13:32:55 +00:00
open-feature.module.spec.ts chore: import type lint rule and fixes (#1039) 2024-10-16 14:33:47 -04:00
test-app.ts feat: adds RequireFlagsEnabled decorator (#1159) 2025-04-24 13:32:55 +00:00