Skip to content

feat: autoconfigure Hook and EvaluationContextProvider services#1

Merged
aubes merged 1 commit intomainfrom
feature/hook-autoconfigure
Apr 25, 2026
Merged

feat: autoconfigure Hook and EvaluationContextProvider services#1
aubes merged 1 commit intomainfrom
feature/hook-autoconfigure

Conversation

@aubes
Copy link
Copy Markdown
Owner

@aubes aubes commented Apr 24, 2026

  • Services implementing OpenFeature\interfaces\hooks\Hook are now autoconfigured with the openfeature.hook tag. No more manual tagging required in services.yaml (opt out with autoconfigure: false for per-call hooks such as RegexpValidatorHook).
  • Services implementing EvaluationContextProviderInterface are now autoconfigured via registerForAutoconfiguration() in the bundle extension (the previous #[AutoconfigureTag] on the interface was not picked up by Symfony and had no effect).

@aubes aubes merged commit 79577fb into main Apr 25, 2026
4 checks passed
@aubes aubes deleted the feature/hook-autoconfigure branch April 25, 2026 08:11
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