Skip to content

Document the bound domain in provider initialization and domain-scoped providers #1405

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. The conceptual docs should cover this so provider authors and users understand it.

What needs to happen

  • Document that initialize can receive the bound domain, and when a provider would use it (e.g. scoping a persistent cache)
  • Document the domain-scoped provider concept: what declaring it means, and that the API binds such a provider to at most one domain
  • Fit this into the existing provider/domain and provider-lifecycle docs rather than a standalone page

Related

Links

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions