Skip to content

feat: multi-provider support via SDK MultiProvider#2

Merged
aubes merged 2 commits into
mainfrom
feature/multi-providers
Jun 15, 2026
Merged

feat: multi-provider support via SDK MultiProvider#2
aubes merged 2 commits into
mainfrom
feature/multi-providers

Conversation

@aubes

@aubes aubes commented Jun 13, 2026

Copy link
Copy Markdown
Owner

Added

  • Multi-provider support through the SDK MultiProvider. The new providers configuration key declares several providers (map of provider name => service ID, evaluated in declaration order, mutually exclusive with provider), and the strategy key selects the evaluation strategy: first_match (default), first_successful, or comparison with a required fallback provider name. Configuration is validated at compile time (exclusivity, fallback consistency, case-insensitive provider name uniqueness).
  • The profiler panel and toolbar now display the evaluation strategy and the sub-providers in evaluation order (with a fallback badge for the comparison strategy) when multi-provider is configured.

Changed

  • open-feature/sdk requirement raised from ^2.0 to ^2.2 (the bundle relies on the MultiProvider classes introduced in SDK 2.2.0).
  • The provider configuration node now defaults to null instead of InMemoryProvider. When neither provider nor providers is set, the bundle still falls back to the built-in InMemoryProvider: behavior is unchanged, only the output of config:dump-reference open_feature differs.

@aubes aubes merged commit 94799e3 into main Jun 15, 2026
4 checks passed
@aubes aubes deleted the feature/multi-providers branch June 15, 2026 19:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant