-
Notifications
You must be signed in to change notification settings - Fork 41
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
[bug] Multiple providers bound to one "name", and associated issues #192
Comments
Let's continue the discussion about the following scenario described by @kinyoklion here open-feature/dotnet-sdk#129 (comment) |
@benjiro FYI I moved this from the dotnet-sdk repo. |
I totally agree. |
Let's wait for now to build some consensus, just so that you dont implement something that you have to change. Do you agree with the solution I've vaguely proposed? Any alternatives? |
Yes I totally agree with that @toddbaert, this is fixing at least the shutdown for me. |
For now maybe add the PR here for reference. |
I fixed that in the JS SDK now. I had this check for the default provider already, but missed to do it for several named clients. |
Thanks Todd. basic:
2 names:
2 names 2:
|
Spec: a4ffec3
See: open-feature/dotnet-sdk#126
The spec allows a single instance of a provider to be bound to multiple names (even if it didn't allow this, any naive implementation would probably allow it to happen). We either need to prevent it or specify how it should work. We may want to specify that providers that are still bound to any client name are not shut down. - @toddbaert
I consider this a spec bug personally, because it constitutes a problematic ambiguity in the spec. - @toddbaert
cc @justinabrahms
Quote from @kinyoklion 👍
The text was updated successfully, but these errors were encountered: