-
Notifications
You must be signed in to change notification settings - Fork 3
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
refactor!: Add EventHandler + Combine #29
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
57375d6
to
3543cd2
Compare
nicklasl
reviewed
Jan 19, 2024
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.
Added some comments on the tests part.
To make sure we test all different event cases on the OpenFeatureAPI.shared
level, we can use a Provider
which have a public accessible EventHandler
(so we can remotely control it to emit events).
94a1a74
to
266b5e6
Compare
vahidlazio
reviewed
Jan 19, 2024
d4103c8
to
16a0e8b
Compare
6cf9c87
to
fa696af
Compare
e3029f7
to
9ca2cc3
Compare
vahidlazio
reviewed
Jan 22, 2024
b744531
to
d903315
Compare
nicklasl
reviewed
Jan 23, 2024
61ddf6f
to
1efff09
Compare
fabriziodemaria
commented
Jan 24, 2024
8c2114b
to
bfeecad
Compare
Signed-off-by: Fabrizio Demaria <[email protected]>
Signed-off-by: Fabrizio Demaria <[email protected]>
Signed-off-by: Fabrizio Demaria <[email protected]>
Signed-off-by: Fabrizio Demaria <[email protected]>
Signed-off-by: Fabrizio Demaria <[email protected]>
Signed-off-by: Fabrizio Demaria <[email protected]>
Signed-off-by: Fabrizio Demaria <[email protected]>
Signed-off-by: Fabrizio Demaria <[email protected]>
Signed-off-by: Fabrizio Demaria <[email protected]>
Signed-off-by: vahid torkaman <[email protected]>
…FeatureAPI Signed-off-by: vahid torkaman <[email protected]>
Signed-off-by: vahid torkaman <[email protected]>
Signed-off-by: vahid torkaman <[email protected]>
Signed-off-by: Fabrizio Demaria <[email protected]>
bfeecad
to
2ae4cb9
Compare
nicklasl
approved these changes
Jan 24, 2024
Signed-off-by: Fabrizio Demaria <[email protected]>
nicklasl
approved these changes
Jan 24, 2024
fabriziodemaria
pushed a commit
that referenced
this pull request
Feb 2, 2024
🤖 I have created a release *beep* *boop* --- ## [0.1.0](0.0.2...0.1.0) (2024-02-02) ### ⚠ BREAKING CHANGES * Add EventHandler + Combine ([#29](#29)) ### 🐛 Bug Fixes * setProviderAndWait does not hang on ProviderError ([#35](#35)) ([5661080](5661080)) ### ✨ New Features * Add ProviderNotReady event ([#36](#36)) ([389f117](389f117)) * Add setProviderAndWait ([#30](#30)) ([3ce6b8d](3ce6b8d)) ### 🧹 Chore * **deps:** update actions/checkout action to v4 ([#18](#18)) ([eb0cd56](eb0cd56)) * **deps:** update dependency apple/swift-format to v509 ([#21](#21)) ([5f12304](5f12304)) * Smaller cleanup in tests ([#33](#33)) ([053dabc](053dabc)) ### 📚 Documentation * add sections for logging, named providers, and shutdown ([#31](#31)) ([dc5876c](dc5876c)) * Fix Installation documentation ([#27](#27)) ([5ddf45d](5ddf45d)), closes [#25](#25) * Update README to latest template ([#28](#28)) ([dbdd502](dbdd502)) * Update README.md ([#19](#19)) ([ec599ff](ec599ff)) ### 🔄 Refactoring * Add EventHandler + Combine ([#29](#29)) ([dd122f7](dd122f7)) --- 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>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR
FeatureProvider
now extends theEventPublisher
protocol)Notes
Following patterns implemented in the Kotlin SDK as much as possible, for consistency
Follow-up Tasks
setProviderAndWait
function in OpenFeatureAPI