Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature #29130 [Serializer] Normalize constraint violation parameters…
… (ogizanagi) This PR was merged into the 4.3-dev branch. Discussion ---------- [Serializer] Normalize constraint violation parameters | Q | A | ------------- | --- | Branch? | master <!-- see below --> | Bug fix? | no | New feature? | yes <!-- don't forget to update src/**/CHANGELOG.md files --> | BC breaks? | no <!-- see https://symfony.com/bc --> | Deprecations? | yes <!-- don't forget to update UPGRADE-*.md and src/**/CHANGELOG.md files --> | Tests pass? | yes <!-- please add some, will be required by reviewers --> | Fixed tickets | N/A <!-- #-prefixed issue number(s), if any --> | License | MIT | Doc PR | N/A? Adding violation constraints' parameters to the normalized data, as these are valuable for an API client. I used `parameters` for now, as it's the name used in `ConstraintViolationInterface::getParameters()`, but what about `placeholders` or `context`? Commits ------- 32c90eb [Serializer] Normalize constraint violation parameters
- Loading branch information