You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What about add constraint on unique elements collection?
I think it will be named as Assert\UniqueCollection.
It is partly linked with #9888
What do you think? I'd be happy to send a PR after it's discussed.
The text was updated successfully, but these errors were encountered:
Another duplicate of #9888 But you are free to implement this part at least. It's easiest one anyway.
zzenmate
changed the title
[Validator] Add constraint on unique elements collection(Assert\UniqueCollection)
[Validator] Add constraint on unique elements collection(Assert\Unique)
Mar 18, 2018
…on(Assert\Unique) (zenmate, nicolas-grekas)
This PR was merged into the 4.3-dev branch.
Discussion
----------
[Validator] Add constraint on unique elements collection(Assert\Unique)
| Q | A
| ------------- | ---
| Branch? | master
| Bug fix? | no
| New feature? | yes
| BC breaks? | no
| Deprecations? | no
| Tests pass? | no <!-- please add some, will be required by reviewers -->
| Fixed tickets | #26535
| License | MIT
| Doc PR | symfony/symfony-docs#... <!-- required for new features -->
<!--
Write a short README entry for your feature/bugfix here (replace this comment block.)
This will help people understand your PR and can be used as a start of the Doc PR.
Additionally:
- Bug fixes must be submitted against the lowest branch where they apply
(lowest branches are regularly merged to upper ones so they get the fixes too).
- Features and deprecations must be submitted against the master branch.
-->
Commits
-------
d0eb13e Rebase and update to latest CS
fc66683 Add UniqueCollection constraint and validator
What about add constraint on unique elements collection?
I think it will be named as Assert\UniqueCollection.
It is partly linked with #9888
What do you think? I'd be happy to send a PR after it's discussed.
The text was updated successfully, but these errors were encountered: