-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Support Returning Error Resolutions from Providers #323
Conversation
Signed-off-by: christian.lutnik <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Small question. Other than that it seems fine 👍
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #323 +/- ##
==========================================
+ Coverage 85.75% 85.91% +0.15%
==========================================
Files 34 34
Lines 1362 1377 +15
Branches 147 148 +1
==========================================
+ Hits 1168 1183 +15
Misses 162 162
Partials 32 32 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great!
…e#323) When provider resolutions with error code set other than `None` are returned, the provider acts as if an error was thrown. Signed-off-by: christian.lutnik <[email protected]> Signed-off-by: Artyom Tonoyan <[email protected]>
When provider resolutions with error code set other than `None` are returned, the provider acts as if an error was thrown. Signed-off-by: christian.lutnik <[email protected]> Signed-off-by: André Silva <[email protected]>
…-feature#323) Signed-off-by: christian.lutnik <[email protected]>
🤖 I have created a release *beep* *boop* --- ## [2.2.0](v2.1.0...v2.2.0) (2024-12-12) ### ✨ New Features * Feature Provider Enhancements- [#321](#321) ([#324](#324)) ([70f847b](70f847b)) * Implement Tracking in .NET [#309](#309) ([#327](#327)) ([cbf4f25](cbf4f25)) * Support Returning Error Resolutions from Providers ([#323](#323)) ([bf9de4e](bf9de4e)) ### 🧹 Chore * **deps:** update dependency fluentassertions to v7 ([#325](#325)) ([35cd77b](35cd77b)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This PR
Related Issues
Fixes #307
How to test
test/OpenFeature.Tests/OpenFeatureClientTests#When_Error_Is_Returned_From_Provider_Should_Not_Run_After_Hook_But_Error_Hook
verifies the behaviour