Skip to content

feat(metadata): deprecate the compositeIdentifier argument of ApiResource - #8695

Merged
soyuka merged 2 commits into
api-platform:mainfrom
Maxcastel:feat/deprecate-api-resource-composite-identifier
Nov 4, 2026
Merged

soyuka merged 2 commits into
api-platform:mainfrom
Maxcastel:feat/deprecate-api-resource-composite-identifier

Conversation

@Maxcastel

Copy link
Copy Markdown
Contributor
Q A
Branch? main
License MIT

#[ApiResource(compositeIdentifier: false)] is accepted but does nothing, nothing reads it since its getter was removed (#4712). The option that works is on Link. This deprecates the argument so it can be removed in 6.0.

@soyuka
soyuka merged commit cec0a65 into api-platform:main Nov 4, 2026
99 of 232 checks passed
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.

2 participants