UniqueEntity annotation doesn't work with TDBMObject, that force us to create a method for each Dao to check unicity of an object base on a field in a table.
As a workaround, I made a custom constraint as Symfony validation documentation says.
It would be nice if it was directly available inside of TDBM as this is a commonly used feature.
UniqueEntity annotation doesn't work with TDBMObject, that force us to create a method for each Dao to check unicity of an object base on a field in a table.
As a workaround, I made a custom constraint as Symfony validation documentation says.
It would be nice if it was directly available inside of TDBM as this is a commonly used feature.
Is this something that should be done here are on https://github.com/thecodingmachine/graphqlite-symfony-validator-bridge ?
Thank you