pomm-project / pomm-symfony-bridge

Pomm2 shared elements for profiler between Silex and Symfony.
8 stars 17 forks source link

Add Pomm Unique Object Validator #29

Open Hadrien45 opened 7 years ago

Hadrien45 commented 7 years ago

Following this Issue https://github.com/pomm-project/pomm-bundle/issues/53

Hadrien45 commented 7 years ago

Hi,

This validator allows me to check that a record in a table does not exist (I can check one or many fields). For example I have a Posts table with two fields ("id", "name") and I want to check with the Symfony Form that the Posts table have not a record with the same "name".