You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When calling `SetProviderAsync` an exception may be thrown if the provider cannot be initialized. This may occur if the provider has not been configured correctly. See the documentation for the provider you are using for more information on how to configure the provider correctly.
116
+
101
117
In some situations, it may be beneficial to register multiple providers in the same application.
102
118
This is possible using [domains](#domains), which is covered in more detail below.
103
119
@@ -176,11 +192,18 @@ A domain is a logical identifier which can be used to associate clients with a p
176
192
If a domain has no associated provider, the default provider is used.
The minimum required version of `@openfeature/server-sdk` currently is `1.7.5`.
78
78
@@ -149,6 +149,24 @@ export class OpenFeatureTestService {
149
149
}
150
150
```
151
151
152
+
#### Managing Controller or Route Access via Feature Flags
153
+
154
+
The `RequireFlagsEnabled` decorator can be used to manage access to a controller or route based on the enabled state of a feature flag. The decorator will throw an exception if the required feature flag(s) are not enabled.
0 commit comments