Skip to content

Implement isolated API instances across SDKs #374

@toddbaert

Description

@toddbaert

Context

The spec now supports isolated API instances; independent, non-singleton instances of the OpenFeature API, each with their own state (providers, context, hooks, events). This enables use cases like micro-frontends, dependency injection, and testing.

Relevant spec sections

Requirements summary

Requirement Level Description
1.8.1 MUST Provide a factory function that creates independent API instances with their own state
1.8.2 MUST Isolated instances conform to the same API contract as the singleton
1.8.3 SHOULD Factory function lives in a distinct module for discoverability
1.8.4 SHOULD NOT A provider instance should not be bound to multiple API instances simultaneously

SDK implementation tracking

Child issues:

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions