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
* Adding GetProviderHooks override.
Signed-off-by: André Silva <2493377+askpt@users.noreply.github.com>
* Enhance provider evaluation with hook execution support
Signed-off-by: André Silva <2493377+askpt@users.noreply.github.com>
* Update README to clarify Multi-Provider support for hooks and events
Signed-off-by: André Silva <2493377+askpt@users.noreply.github.com>
* Replace null with ClientMetadata in EvaluateAsync calls
Signed-off-by: André Silva <2493377+askpt@users.noreply.github.com>
* refactor: Require ILogger parameter in EvaluateAsync and related methods
Signed-off-by: André Silva <2493377+askpt@users.noreply.github.com>
* test: Add unit test for EvaluateAsync with provider hooks and error handling
Signed-off-by: André Silva <2493377+askpt@users.noreply.github.com>
* Fix formatting
Signed-off-by: André Silva <2493377+askpt@users.noreply.github.com>
* test: Add unit tests for GetProviderHooks and EvaluateAsync with hooks handling
Signed-off-by: André Silva <2493377+askpt@users.noreply.github.com>
* add unit test for GetFlagValueType to validate flag value types
Signed-off-by: André Silva <2493377+askpt@users.noreply.github.com>
* refactor: remove GetProviderHooks implementation and update related tests to return empty list
Signed-off-by: André Silva <2493377+askpt@users.noreply.github.com>
* test: Add unit test for EvaluateAsync to handle exceptions from after hooks
Signed-off-by: André Silva <2493377+askpt@users.noreply.github.com>
* Update README.md
Signed-off-by: André Silva <2493377+askpt@users.noreply.github.com>
---------
Signed-off-by: André Silva <2493377+askpt@users.noreply.github.com>
Copy file name to clipboardExpand all lines: README.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -443,10 +443,12 @@ Built a new hook? [Let us know](https://github.com/open-feature/openfeature.dev/
443
443
### Multi-Provider
444
444
445
445
> [!NOTE]
446
-
> The Multi-Provider feature is currently experimental. Hooks and events are not supported at the moment.
446
+
> The Multi-Provider feature is currently experimental.
447
447
448
448
The Multi-Provider enables the use of multiple underlying feature flag providers simultaneously, allowing different providers to be used for different flag keys or based on specific evaluation strategies.
449
449
450
+
The Multi-Provider supports provider hooks and executes them in accordance with the OpenFeature specification. Each provider's hooks are executed with context isolation, ensuring that context modifications by one provider's hooks do not affect other providers.
451
+
450
452
#### Basic Usage
451
453
452
454
```csharp
@@ -524,9 +526,7 @@ The Multi-Provider supports two evaluation modes:
524
526
525
527
#### Limitations
526
528
527
-
- **Hooks are not supported**: Multi-Provider does not currently support hook registration or execution
528
-
- **Events are not supported**: Provider events are not propagated from underlying providers
529
-
- **Experimental status**: The API may change in future releases
529
+
- **Experimental status**: The API may change in future releases
530
530
531
531
For a complete example, see the [AspNetCore sample](./samples/AspNetCore/README.md) which demonstrates Multi-Provider usage.
0 commit comments