-
Notifications
You must be signed in to change notification settings - Fork 37
feat!: remove generic hook, add specific type hooks #766
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
Conversation
Signed-off-by: Todd Baert <[email protected]>
Signed-off-by: Todd Baert <[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.
value
should always be present on the EvaluationDetails
.
Co-authored-by: Michael Beemer <[email protected]> Signed-off-by: Todd Baert <[email protected]>
Co-authored-by: Michael Beemer <[email protected]> Signed-off-by: Todd Baert <[email protected]>
Co-authored-by: Michael Beemer <[email protected]> Signed-off-by: Todd Baert <[email protected]>
Co-authored-by: Michael Beemer <[email protected]> Signed-off-by: Todd Baert <[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.
The newer API made a lot o sense IMO.
LGTM!
So, from what we've been exploring in the Nest SDK I think there might be a nicer way to deal with multiple providers at the same time. It's totally out of scope for this PR, but I wanted to write it down since it's the first time that I look at the React SDK. |
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.
I like the change and that it makes all SDKs and components be more consistent!
🤖 I have created a release *beep* *boop* --- ## [0.1.0-experimental](react-sdk-v0.0.6-experimental...react-sdk-v0.1.0-experimental) (2024-01-18) ### ⚠ BREAKING CHANGES * remove generic hook, add specific type hooks ([#766](#766)) ### ✨ New Features * remove generic hook, add specific type hooks ([#766](#766)) ([d1d02fa](d1d02fa)) ### 🧹 Chore * fix react-sdk REAMDE example, add missing `EvaluationContext` ([#762](#762)) ([1e13333](1e13333)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Signed-off-by: OpenFeature Bot <[email protected]> Signed-off-by: Todd Baert <[email protected]> Co-authored-by: Todd Baert <[email protected]>
This PR brings the react SDK's evaluation API in-line with other SDKS. It does this by:
I think this is important before a non-experimental release for 2 reasons: