-
Notifications
You must be signed in to change notification settings - Fork 33
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: adds ErrorOptions to Error constructor #765
Conversation
4e2a7e2
to
1a3fd9b
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.
The change looks good to me but there are a few docs that should be updated prior to this PR being merged. Please change the compilation target to es2022
.
- https://github.com/open-feature/js-sdk/blob/main/CONTRIBUTING.md
- https://github.com/open-feature/js-sdk/tree/main/packages/client
FYI @toddbaert, we specified es2015
for the client SDK but we could update it to es2022 prior to a GA release.
Thanks for the review. I've updated the compilation target to |
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.
This looks good! I will have time to try to build it tomorrow.
Thanks for the PR! :)
Accidentally approved, I will approve after trying to build.
Signed-off-by: Neeraj Gartia <[email protected]>
Signed-off-by: Neeraj Gartia <[email protected]>
Signed-off-by: Neeraj Gartia <[email protected]>
2234f08
to
16c31c9
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.
Building works and the built SDK works in the playground, thanks!
Thanks for reviewing guys! I've been heads-down working on the .NET release. Thanks to you for this contribution @NeerajGartia21 ! |
🤖 I have created a release *beep* *boop* --- ## [0.0.24](core-v0.0.23...core-v0.0.24) (2024-01-27) ### ✨ New Features * adds ErrorOptions to Error constructor ([#765](#765)) ([2f59a9f](2f59a9f)) ### 🐛 Bug Fixes * event-handler leakage ([#788](#788)) ([69c7f05](69c7f05)) --- 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: openfeature-peer-update-bot <[email protected]> Co-authored-by: openfeature-peer-update-bot <[email protected]>
🤖 I have created a release *beep* *boop* --- ## [0.4.11](web-sdk-v0.4.10...web-sdk-v0.4.11) (2024-01-30) ### ✨ New Features * adds ErrorOptions to Error constructor ([#765](#765)) ([2f59a9f](2f59a9f)) ### 🧹 Chore * **main:** release core 0.0.24 ([#770](#770)) ([12b3b35](12b3b35)) --- 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]>
🤖 I have created a release *beep* *boop* --- ## [1.10.0](server-sdk-v1.9.1...server-sdk-v1.10.0) (2024-01-30) ### ✨ New Features * adds ErrorOptions to Error constructor ([#765](#765)) ([2f59a9f](2f59a9f)) ### 🧹 Chore * **main:** release core 0.0.24 ([#770](#770)) ([12b3b35](12b3b35)) --- 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]>
🤖 I have created a release *beep* *boop* --- ## [0.0.5-experimental](nestjs-sdk-v0.0.4-experimental...nestjs-sdk-v0.0.5-experimental) (2024-01-31) ### ✨ New Features * adds ErrorOptions to Error constructor ([#765](#765)) ([2f59a9f](2f59a9f)) ### 🐛 Bug Fixes * **nest:** add peer deps for nestjs-core and rxjs 9 ([#784](#784)) ([a452bdd](a452bdd)) * removed duped core types ([#800](#800)) ([7cc1e09](7cc1e09)) ### 📚 Documentation * Nest SDK ([#750](#750)) ([a21634d](a21634d)) * update nestjs readme examples ([#787](#787)) ([c6a357a](c6a357a)) --- 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]>
🤖 I have created a release *beep* *boop* --- ## [0.1.1-experimental](react-sdk-v0.1.0-experimental...react-sdk-v0.1.1-experimental) (2024-01-31) ### ✨ New Features * adds ErrorOptions to Error constructor ([#765](#765)) ([2f59a9f](2f59a9f)) ### 🐛 Bug Fixes * removed duped core types ([#800](#800)) ([7cc1e09](7cc1e09)) ### 📚 Documentation * update react readme ([#792](#792)) ([1666597](1666597)) --- 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
ErrorOptions
toError
constructores2022
Related Issues
Fixes this
Notes
Follow-up Tasks
How to test