-
Notifications
You must be signed in to change notification settings - Fork 22
Labels
type: docsImprovements or additions to documentationImprovements or additions to documentation
Description
Change in the documentation
The SetProviderAsync behaves differently than nearly every other method in OpenFeature because it can throw if the underlying provider throws during its initiation. This was a conscious design choice documented in the spec (requirement 1.4.10). However, it's not obvious in our examples that an error can be returned while setting a provider.
Requirements
- Ensure that the XML Doc comments for the
SetProviderAsyncmethod clearly defines the behavior. - Update the examples in the readme to use a try/catch when using
SetProviderAsync.
Metadata
Metadata
Assignees
Labels
type: docsImprovements or additions to documentationImprovements or additions to documentation