{"action":"created","issue":{"url":"https://api.github.com/repos/jhipster/jhipster-uml/issues/74","labels_url":"https://api.github.com/repos/jhipster/jhipster-uml/issues/74/labels{/name}","comments_url":"https://api.github.com/repos/jhipster/jhipster-uml/issues/74/comments","events_url":"https://api.github.com/repos/jhipster/jhipster-uml/issues/74/events","html_url":"https://github.com/jhipster/jhipster-uml/issues/74","id":112461661,"number":74,"title":"OneToMany relationship with User entity is ignored","user":{"login":"andidev","id":571389,"avatar_url":"https://avatars.githubusercontent.com/u/571389?v=3","gravatar_id":"","url":"https://api.github.com/users/andidev","html_url":"https://github.com/andidev","followers_url":"https://api.github.com/users/andidev/followers","following_url":"https://api.github.com/users/andidev/following{/other_user}","gists_url":"https://api.github.com/users/andidev/gists{/gist_id}","starred_url":"https://api.github.com/users/andidev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andidev/subscriptions","organizations_url":"https://api.github.com/users/andidev/orgs","repos_url":"https://api.github.com/users/andidev/repos","events_url":"https://api.github.com/users/andidev/events{/privacy}","received_events_url":"https://api.github.com/users/andidev/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-10-20T21:10:42Z","updated_at":"2015-10-21T05:31:37Z","closed_at":null,"body":"OneToMany relationship with the User entity is ignored.\r\n\r\nThe following jdl\r\n```\r\nentity AnEntity {\r\n    aField String\r\n}\r\n\r\nrelationship OneToMany {\r\n    User{anEntity} to AnEntity{user}\r\n}\r\n```\r\n\r\n...generates the follwing jhipster entity.json without the User relationship\r\n```json\r\n{\r\n  \"relationships\": [],\r\n  \"fields\": [\r\n    {\r\n      \"fieldId\": 1,\r\n      \"fieldName\": \"aField\",\r\n      \"fieldType\": \"String\"\r\n    }\r\n  ],\r\n  \"changelogDate\": \"20151020210726\",\r\n  \"dto\": \"no\",\r\n  \"pagination\": \"no\"\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/jhipster/jhipster-uml/issues/comments/149788026","html_url":"https://github.com/jhipster/jhipster-uml/issues/74#issuecomment-149788026","issue_url":"https://api.github.com/repos/jhipster/jhipster-uml/issues/74","id":149788026,"user":{"login":"andidev","id":571389,"avatar_url":"https://avatars.githubusercontent.com/u/571389?v=3","gravatar_id":"","url":"https://api.github.com/users/andidev","html_url":"https://github.com/andidev","followers_url":"https://api.github.com/users/andidev/followers","following_url":"https://api.github.com/users/andidev/following{/other_user}","gists_url":"https://api.github.com/users/andidev/gists{/gist_id}","starred_url":"https://api.github.com/users/andidev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andidev/subscriptions","organizations_url":"https://api.github.com/users/andidev/orgs","repos_url":"https://api.github.com/users/andidev/repos","events_url":"https://api.github.com/users/andidev/events{/privacy}","received_events_url":"https://api.github.com/users/andidev/received_events","type":"User","site_admin":false},"created_at":"2015-10-21T05:31:37Z","updated_at":"2015-10-21T05:31:37Z","body":"Great! Looking forward of using it."}}