Skip to content

Supply the bound domain to provider initialization #772

Description

@jonathannorris

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.

What needs to happen

  • Pass the bound domain (if any) to the provider's initialization when it's registered via the provider mutator
  • Extend InitializeAsync to accept the optional domain (non-breaking, additional optional parameter)
  • Add a way for a provider to declare itself domain-scoped
  • 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
  • Associated testing and docs

Links

Activity

  1. added
    area: sdk
    type: feat
    on Jul 3, 2026
  2. added theissue type on Aug 1, 2026
  3. added
    v0.9.0
    on Aug 1, 2026
  4. self-assigned this
    on Aug 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area: sdktype: featv0.9.0

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions