Skip to content

fix(metadata): keep queryParameterValidationEnabled on ApiResource - #8692

Merged
soyuka merged 2 commits into
api-platform:5.0from
Maxcastel:fix/api-resource-query-parameter-validation-enabled
Oct 16, 2026
Merged

soyuka merged 2 commits into
api-platform:5.0from
Maxcastel:fix/api-resource-query-parameter-validation-enabled

Conversation

@Maxcastel

Copy link
Copy Markdown
Contributor
Q A
Branch? 5.0
Tickets Related to #6452
License MIT

#[ApiResource(queryParameterValidationEnabled: false)] had no effect, the argument was missing in the parent::__construct() call so it was null.

@soyuka
soyuka merged commit a26acbe into api-platform:5.0 Oct 16, 2026
109 of 117 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