-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Closed
Labels
FormhasPRA Pull Request has already been submitted for this issue.A Pull Request has already been submitted for this issue.
Milestone
Description
I had to manage a one-to-many relations from ad Event to Images, so after some search I founded this:
Using by_reference force the framework to use only add/removeEntityNameSingular, so if I have an images property it uses addImage or removeImage...this is well explained in this SO answer:
The problem is that I use to write code in my native language most of the time, so of course my singular/plural didn't work! I lost a lot of time searching for the root problem elsewhere (es: Doctrine), I think that add this detail to the docs can save time for who will meet the same problem.
Metadata
Metadata
Assignees
Labels
FormhasPRA Pull Request has already been submitted for this issue.A Pull Request has already been submitted for this issue.