Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
merged branch docteurklein/unique-entity-validator-with-custom-reposi…
…tory-method (PR #4979) Commits ------- 4eb54a0 update CHANGELOG db9ea09 [Doctrine] [Bridge] fix repositoryMethod test 2a6c222 Add a customRepository option to the uniqueEntity validator Discussion ---------- [Doctrine] [Bridge] Add a "repositoryMethod" option to the uniqueEntity validator Bug fix: no Feature addition: yes Backwards compatibility break: no Symfony2 tests pass: yes Fixes the following tickets: ~ Todo: ~ License of the code: MIT Documentation PR: ~ This allows to configure the repository method used to verify uniqueness of entity. Before, it was always using `findBy`. --------------------------------------------------------------------------- by fabpot at 2012-07-20T05:35:28Z Can you add a note in the CHANGELOG? --------------------------------------------------------------------------- by docteurklein at 2012-07-20T07:17:08Z @fabpot done.
- Loading branch information
Showing
4 changed files
with
72 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters