DDC-1993: New method required: ClassMetadataInfo::isAssociationNullable() #2668

Open
doctrinebot opened this Issue Aug 22, 2012 · 0 comments

2 participants

@doctrinebot

Jira issue originally created by user gregoire_m:

Hi,

I'm working with Symfony 2.1, and I need to know if an association is nullable for a given entity (to know if a form field should be marked as 'required'). So I'd like to have a isAssociationNullable() method in the ClassMetadataInfo class, that should do the same thing that the isNullable() method does for fields.

You can see more information about the problem on the Symfony issue.

Thanks.

@beberlei beberlei was assigned by doctrinebot Dec 6, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment