Skip to content
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: Add ProviderNotReady event #36

Merged
merged 1 commit into from
Feb 2, 2024
Merged

feat: Add ProviderNotReady event #36

merged 1 commit into from
Feb 2, 2024

Conversation

fabriziodemaria
Copy link
Contributor

@fabriziodemaria fabriziodemaria commented Jan 30, 2024

The specs define separately provider EVENTS and provider STATUS. This PR doesn't quite yet introduce ProviderStatus, but rather extends the Events to include all the possible statuses (namely adding notReady). I am not sure if this compromise can be acceptable in the long run, or if we'll need to eventually add the Statuses separately. Nevertheless adding notReady gives the Providers a proper case to use at initialization time.

Related Issues

Shall we add the lack of ProviderStatus as an Issue?
(There is a proposal to remove ProviderStatus from Provider)

Signed-off-by: Fabrizio Demaria <[email protected]>
@fabriziodemaria fabriziodemaria merged commit 389f117 into main Feb 2, 2024
5 checks passed
@fabriziodemaria fabriziodemaria deleted the not-ready branch February 2, 2024 14:38
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
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants