Skip to content

fix(jsonschema): ignore validation groups generator in definition name - #8843

Merged
soyuka merged 3 commits into
api-platform:5.0from
soyuka:fix/8815-validation-groups-generator
Nov 13, 2026
Merged

soyuka merged 3 commits into
api-platform:5.0from
soyuka:fix/8815-validation-groups-generator

Conversation

@soyuka

@soyuka soyuka commented Nov 13, 2026

Copy link
Copy Markdown
Member
Q A
Branch? 5.0
Tickets Closes #8815
License MIT
Doc PR ∅

Since #8595 a validationContext groups value that is a validation groups generator service id (or a callable) was wrapped into an array and used as a literal group, both in the definition name and in the groups passed to the property metadata. Only a GroupSequence or a plain array are groups now, anything else is resolved at runtime and falls back to the default group, as ValidatorPropertyMetadataFactory already does.

@soyuka
soyuka merged commit 0a5a811 into api-platform:5.0 Nov 13, 2026
113 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.

1 participant