Home Documentation Download Pricing Buy Now

[Answered] UniqueEntity

0 votes

Does skipper support Symfony Validation annotations?

Like, when selecting UQ (Unique contraint) on a field in skipper, it should have added for instance:

I add a Entity called Project and whant Project->title to be Unique.

...
use Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntity;

....
/**
* @ORM\Entity(repositoryClass="AppBundle\Repository\ProjectRepository")
* @ORM\Table(name="project")
* @UniqueEntity("title")
*/
class Project {
...

asked Jun 3, 2016 in Solved by marton (120 points)
recategorized Jul 4, 2016 by ludek.vodicka

1 Answer

0 votes

Currently it's not possible to edit/export anything else than @ORM annotations. It's because any other annotations aren't ORM dependent so it shouldn't be possible to edit everything through Skipper. Because of that we're currently aiming only to ORM features.

answered Jun 3, 2016 by ludek.vodicka Skipper developer (140,530 points)
...