{"action":"created","issue":{"url":"https://api.github.com/repos/javiereguiluz/EasyAdminBundle/issues/46","labels_url":"https://api.github.com/repos/javiereguiluz/EasyAdminBundle/issues/46/labels{/name}","comments_url":"https://api.github.com/repos/javiereguiluz/EasyAdminBundle/issues/46/comments","events_url":"https://api.github.com/repos/javiereguiluz/EasyAdminBundle/issues/46/events","html_url":"https://github.com/javiereguiluz/EasyAdminBundle/issues/46","id":54757356,"number":46,"title":"ManyToMany / OneToMany","user":{"login":"Pierstoval","id":3369266,"avatar_url":"https://avatars.githubusercontent.com/u/3369266?v=3","gravatar_id":"","url":"https://api.github.com/users/Pierstoval","html_url":"https://github.com/Pierstoval","followers_url":"https://api.github.com/users/Pierstoval/followers","following_url":"https://api.github.com/users/Pierstoval/following{/other_user}","gists_url":"https://api.github.com/users/Pierstoval/gists{/gist_id}","starred_url":"https://api.github.com/users/Pierstoval/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Pierstoval/subscriptions","organizations_url":"https://api.github.com/users/Pierstoval/orgs","repos_url":"https://api.github.com/users/Pierstoval/repos","events_url":"https://api.github.com/users/Pierstoval/events{/privacy}","received_events_url":"https://api.github.com/users/Pierstoval/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-01-19T12:20:42Z","updated_at":"2015-01-19T14:07:56Z","closed_at":null,"body":"One day it'll become a problem and a cruel need, so:\r\n \r\nHow do you think the `*ToMany` relationships could be handled ?"},"comment":{"url":"https://api.github.com/repos/javiereguiluz/EasyAdminBundle/issues/comments/70496686","html_url":"https://github.com/javiereguiluz/EasyAdminBundle/issues/46#issuecomment-70496686","issue_url":"https://api.github.com/repos/javiereguiluz/EasyAdminBundle/issues/46","id":70496686,"user":{"login":"nicolaskern","id":1478783,"avatar_url":"https://avatars.githubusercontent.com/u/1478783?v=3","gravatar_id":"","url":"https://api.github.com/users/nicolaskern","html_url":"https://github.com/nicolaskern","followers_url":"https://api.github.com/users/nicolaskern/followers","following_url":"https://api.github.com/users/nicolaskern/following{/other_user}","gists_url":"https://api.github.com/users/nicolaskern/gists{/gist_id}","starred_url":"https://api.github.com/users/nicolaskern/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicolaskern/subscriptions","organizations_url":"https://api.github.com/users/nicolaskern/orgs","repos_url":"https://api.github.com/users/nicolaskern/repos","events_url":"https://api.github.com/users/nicolaskern/events{/privacy}","received_events_url":"https://api.github.com/users/nicolaskern/received_events","type":"User","site_admin":false},"created_at":"2015-01-19T14:07:56Z","updated_at":"2015-01-19T14:07:56Z","body":"I did it pretty easily, this way :\r\n\r\n```\r\n    /**\r\n     * @ORM\\ManyToMany(targetEntity=\"MyEntity\", inversedBy=\"entity\")\r\n     **/\r\n    private $myEntities;\r\n```\r\n\r\nSame thing on the other side with mappedBy"}}