-
Notifications
You must be signed in to change notification settings - Fork 18
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
fix(flagd): handle falsy target values correctly #214
Conversation
Signed-off-by: AdityaVallabh <aganti@abstract.security>
875c1b9
to
7e7fef2
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #214 +/- ##
==========================================
+ Coverage 93.89% 94.00% +0.10%
==========================================
Files 18 18
Lines 950 950
==========================================
+ Hits 892 893 +1
+ Misses 58 57 -1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
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.
thank you for your great contribution. This solves your issue as described, but i am not sure, we want to continue in the future with exceptions anyways for handling our flow. Hence i wrote a little comment, and hope some of the Python-masters can help and guide us.
...rs/openfeature-provider-flagd/src/openfeature/contrib/provider/flagd/resolvers/in_process.py
Show resolved
Hide resolved
Signed-off-by: AdityaVallabh <aganti@abstract.security>
Signed-off-by: AdityaVallabh <aganti@abstract.security>
1ee3395
to
df130a6
Compare
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.
Thanks!
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.
Thanks 🍻 if you need help with the lints let me know.
Signed-off-by: AdityaVallabh <aganti@abstract.security>
5f34f07
to
e7ad1f6
Compare
This PR
Prevents erroneous exception when dealing with falsy values.
Related Issues
Fixes #213
Notes
N/A
Follow-up Tasks
N/A
How to test
Added a bunch of UTs.