镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

feat(symfony): named autowiring aliases for state services - #8635

Draft
soyuka wants to merge 1 commit into
api-platform:mainfrom
soyuka:feat/named-state-aliases
Draft

soyuka wants to merge 1 commit into
api-platform:mainfrom
soyuka:feat/named-state-aliases

Conversation

@soyuka

@soyuka soyuka commented Oct 5, 2026

Copy link
Copy Markdown
Member
Q A
Branch? main
Tickets Follows #8633
License MIT
Doc PR api-platform/docs#...

Deprecates the FQCN aliases of the final Doctrine persist/remove processors and of the Doctrine/Elasticsearch item/collection providers, in favor of named aliases on the interfaces: #[Target('ormPersist')] ProcessorInterface $processor. Naming still under discussion in #8633 (comment).

Tests: ApiPlatformExtensionTest::testStateServicesHaveNamedAutowiringAliases and testFinalStateServiceFqcnAliasesAreDeprecated.

Deprecate the FQCN aliases of the final Doctrine processors and
Doctrine/Elasticsearch providers in favor of named aliases on
ProcessorInterface/ProviderInterface, type-hinting a final class
breaks when the service is decorated.
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