{"comment":{"created_at":"2011-10-24T10:57:12Z","body":"thanks","updated_at":"2011-10-24T10:57:12Z","url":"https://api.github.com/repos/doctrine/doctrine2/issues/comments/2502076","id":2502076,"user":{"avatar_url":"https://secure.gravatar.com/avatar/545c3f0ca5c16787d1b951618213266d?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"545c3f0ca5c16787d1b951618213266d","url":"https://api.github.com/users/goetas","id":776743,"login":"goetas"}},"action":"created","issue":{"number":160,"created_at":"2011-10-19T07:21:32Z","pull_request":{"diff_url":"https://github.com/doctrine/doctrine2/pull/160.diff","patch_url":"https://github.com/doctrine/doctrine2/pull/160.patch","html_url":"https://github.com/doctrine/doctrine2/pull/160"},"body":"Added <variableDefault> on generated class. \r\nThis generate methods like:\r\n```function setGroup(Group $group = null){\r\n}\r\n```\r\n\r\nthat allow to remove \"Group\" association if the relation is one-to-one.\r\n\r\nPlus some indentation issue","comments":21,"title":"Allow to unset one-to-one relation with generated class","updated_at":"2011-10-24T10:57:12Z","url":"https://api.github.com/repos/doctrine/doctrine2/issues/160","id":1991237,"assignee":null,"milestone":null,"closed_at":null,"user":{"avatar_url":"https://secure.gravatar.com/avatar/545c3f0ca5c16787d1b951618213266d?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"545c3f0ca5c16787d1b951618213266d","url":"https://api.github.com/users/goetas","id":776743,"login":"goetas"},"html_url":"https://github.com/doctrine/doctrine2/issues/160","labels":[],"state":"open"},"legacy":{"issue_id":1991237,"comment_id":2502076}}