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 named provider metadata accessor #715

Merged
merged 7 commits into from
Dec 12, 2023

Conversation

beeme1mr
Copy link
Member

This PR

  • adds an accessor for named provider metadata

Related Issues

Fixes #714

Notes

The default metadata is returned if the name doesn't match a registered provider.

This is another example where provider namespace would work well. It doesn't make sense to call this "named client" since we are only interested in the client.

@beeme1mr beeme1mr requested a review from a team as a code owner December 11, 2023 20:56
@beeme1mr beeme1mr changed the title add named provider metadata accessor feat: add named provider metadata accessor Dec 11, 2023
Copy link
Member

@toddbaert toddbaert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just terminology recommendations.

beeme1mr and others added 6 commits December 11, 2023 17:15
Co-authored-by: Todd Baert <[email protected]>
Signed-off-by: Michael Beemer <[email protected]>
Co-authored-by: Todd Baert <[email protected]>
Signed-off-by: Michael Beemer <[email protected]>
Co-authored-by: Todd Baert <[email protected]>
Signed-off-by: Michael Beemer <[email protected]>
@toddbaert toddbaert force-pushed the add-named-client-metadata-accessor branch from e58f310 to b0c1d1b Compare December 11, 2023 22:15
Copy link
Member

@lukas-reining lukas-reining left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@beeme1mr beeme1mr added this pull request to the merge queue Dec 12, 2023
Merged via the queue into main with commit 23d14aa Dec 12, 2023
7 checks passed
@beeme1mr beeme1mr deleted the add-named-client-metadata-accessor branch December 12, 2023 16:40
github-merge-queue bot pushed a commit that referenced this pull request Jan 3, 2024
🤖 I have created a release *beep* *boop*
---


##
[0.0.21](core-v0.0.20...core-v0.0.21)
(2023-12-18)


### ✨ New Features

* add named provider metadata accessor
([#715](#715))
([23d14aa](23d14aa))

---
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]>
github-merge-queue bot pushed a commit that referenced this pull request Jan 3, 2024
🤖 I have created a release *beep* *boop*
---


##
[1.8.0](server-sdk-v1.7.5...server-sdk-v1.8.0)
(2024-01-03)


### ✨ New Features

* add named provider metadata accessor
([#715](#715))
([23d14aa](23d14aa))


### 🧹 Chore

* **main:** release core 0.0.21
([#720](#720))
([7d1aca4](7d1aca4))
* update flagd-provider
([#723](#723))
([c7098c3](c7098c3))

---
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]>
github-merge-queue bot pushed a commit that referenced this pull request Jan 8, 2024
🤖 I have created a release *beep* *boop*
---


##
[0.4.9](web-sdk-v0.4.8...web-sdk-v0.4.9)
(2024-01-08)


### ✨ New Features

* add named provider metadata accessor
([#715](#715))
([23d14aa](23d14aa))
* add PROVIDER_CONTEXT_CHANGED event (web-sdk only)
([#731](#731))
([7906bbe](7906bbe))


### 🐛 Bug Fixes

* use in memory provider for e2e suites
([#740](#740))
([696bf4a](696bf4a))


### 🧹 Chore

* **main:** release core 0.0.21
([#720](#720))
([7d1aca4](7d1aca4))
* **main:** release core 0.0.22
([#745](#745))
([a0cc855](a0cc855))

---
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]>
toddbaert added a commit that referenced this pull request Jan 11, 2024
## This PR

- adds an accessor for named provider metadata

### Related Issues

Fixes #714 

### Notes

The default metadata is returned if the name doesn't match a registered
provider.

This is another example where provider namespace would work well. It
doesn't make sense to call this "named client" since we are only
interested in the client.

---------

Signed-off-by: Michael Beemer <[email protected]>
Co-authored-by: Todd Baert <[email protected]>
toddbaert pushed a commit that referenced this pull request Jan 11, 2024
🤖 I have created a release *beep* *boop*
---


##
[0.0.21](core-v0.0.20...core-v0.0.21)
(2023-12-18)


### ✨ New Features

* add named provider metadata accessor
([#715](#715))
([23d14aa](23d14aa))

---
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]>
toddbaert pushed a commit that referenced this pull request Jan 11, 2024
🤖 I have created a release *beep* *boop*
---


##
[1.8.0](server-sdk-v1.7.5...server-sdk-v1.8.0)
(2024-01-03)


### ✨ New Features

* add named provider metadata accessor
([#715](#715))
([23d14aa](23d14aa))


### 🧹 Chore

* **main:** release core 0.0.21
([#720](#720))
([7d1aca4](7d1aca4))
* update flagd-provider
([#723](#723))
([c7098c3](c7098c3))

---
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]>
toddbaert added a commit that referenced this pull request Jan 11, 2024
🤖 I have created a release *beep* *boop*
---


##
[0.4.9](web-sdk-v0.4.8...web-sdk-v0.4.9)
(2024-01-08)


### ✨ New Features

* add named provider metadata accessor
([#715](#715))
([23d14aa](23d14aa))
* add PROVIDER_CONTEXT_CHANGED event (web-sdk only)
([#731](#731))
([7906bbe](7906bbe))


### 🐛 Bug Fixes

* use in memory provider for e2e suites
([#740](#740))
([696bf4a](696bf4a))


### 🧹 Chore

* **main:** release core 0.0.21
([#720](#720))
([7d1aca4](7d1aca4))
* **main:** release core 0.0.22
([#745](#745))
([a0cc855](a0cc855))

---
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]>
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.

[FEATURE] Named provider metadata accessor
3 participants