Title: Supply the bound domain to provider initialization · Issue #1981 · open-feature/java-sdk · GitHub
Open Graph Title: Supply the bound domain to provider initialization · Issue #1981 · open-feature/java-sdk
X Title: Supply the bound domain to provider initialization · Issue #1981 · open-feature/java-sdk
Description: The spec now supplies the bound domain to a provider's initialize function, and adds an opt-in domain-scoped provider declaration that the API enforces by binding such a provider to at most one domain. This lets stateful providers (e.g. ...
Open Graph Description: The spec now supplies the bound domain to a provider's initialize function, and adds an opt-in domain-scoped provider declaration that the API enforces by binding such a provider to at most one dom...
X Description: The spec now supplies the bound domain to a provider's initialize function, and adds an opt-in domain-scoped provider declaration that the API enforces by binding such a provider to at most one...
Opengraph URL: https://github.com/open-feature/java-sdk/issues/1981
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Supply the bound domain to provider initialization","articleBody":"The spec now supplies the bound `domain` to a provider's `initialize` function, and adds an opt-in `domain-scoped` provider declaration that the API enforces by binding such a provider to at most one `domain`. This lets stateful providers (e.g. an OFREP static-context provider with a persistent cache) scope their state to a single, unambiguous `domain`.\n\n### What needs to happen\n\n- Pass the bound `domain` (if any) to the provider's `initialize` when it's registered via the provider mutator\n- Extend the provider `initialize` to accept the optional `domain` (non-breaking, e.g. an overload or default method)\n- Add a way for a provider to declare itself `domain-scoped`\n- Enforce that a `domain-scoped` provider is bound to at most one `domain`, rejecting any attempt to bind an already-bound instance to another `domain`\n- Associated testing and docs\n\n### Links\n\n- Parent issue: https://github.com/open-feature/spec/issues/403\n- Spec sections: [1.1 Flag evaluation](https://openfeature.dev/specification/sections/flag-evaluation), [2.4 Initialization](https://openfeature.dev/specification/sections/providers)\n","author":{"url":"https://github.com/jonathannorris","@type":"Person","name":"jonathannorris"},"datePublished":"2026-07-02T20:23:04.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/1981/java-sdk/issues/1981"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:05616474-6033-adea-a700-727fba35e15a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E0BE:34CBC3:7A0791:A911F9:6A4C9418 |
| html-safe-nonce | 72ce42ebdb9057291650d3588581fa0874b0aec4c166dee37192dfd774f3e92a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMEJFOjM0Q0JDMzo3QTA3OTE6QTkxMUY5OjZBNEM5NDE4IiwidmlzaXRvcl9pZCI6IjQ4NjU5NjYyMzQ2NjU3ODQzNDQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 8f34932e20dbfd551e4690aad1ee7760bab7b4e890bf8387aedcd4a3b3dd3c24 |
| hovercard-subject-tag | issue:4797929543 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/open-feature/java-sdk/1981/issue_layout |
| twitter:image | https://opengraph.githubassets.com/9eec0a3b6355559588cd3465dc40ab78c2bad936e23f0bcdf801943b2c7996a4/open-feature/java-sdk/issues/1981 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9eec0a3b6355559588cd3465dc40ab78c2bad936e23f0bcdf801943b2c7996a4/open-feature/java-sdk/issues/1981 |
| og:image:alt | The spec now supplies the bound domain to a provider's initialize function, and adds an opt-in domain-scoped provider declaration that the API enforces by binding such a provider to at most one dom... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jonathannorris |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3d11bb817438277de2a940854450e83a7d32b6aeb5014e9e6b00a6423900251c |
| turbo-cache-control | no-preview |
| go-import | github.com/open-feature/java-sdk git https://github.com/open-feature/java-sdk.git |
| octolytics-dimension-user_id | 99483952 |
| octolytics-dimension-user_login | open-feature |
| octolytics-dimension-repository_id | 483818036 |
| octolytics-dimension-repository_nwo | open-feature/java-sdk |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 483818036 |
| octolytics-dimension-repository_network_root_nwo | open-feature/java-sdk |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7a2dede45637df6b92ddcfe2a557e67d4b5854ae |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width