{"action":"created","issue":{"url":"https://api.github.com/repos/doctrine/mongodb-odm/issues/1349","repository_url":"https://api.github.com/repos/doctrine/mongodb-odm","labels_url":"https://api.github.com/repos/doctrine/mongodb-odm/issues/1349/labels{/name}","comments_url":"https://api.github.com/repos/doctrine/mongodb-odm/issues/1349/comments","events_url":"https://api.github.com/repos/doctrine/mongodb-odm/issues/1349/events","html_url":"https://github.com/doctrine/mongodb-odm/pull/1349","id":128230663,"number":1349,"title":"storeAs option for references","user":{"login":"coudenysj","id":96260,"avatar_url":"https://avatars.githubusercontent.com/u/96260?v=3","gravatar_id":"","url":"https://api.github.com/users/coudenysj","html_url":"https://github.com/coudenysj","followers_url":"https://api.github.com/users/coudenysj/followers","following_url":"https://api.github.com/users/coudenysj/following{/other_user}","gists_url":"https://api.github.com/users/coudenysj/gists{/gist_id}","starred_url":"https://api.github.com/users/coudenysj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coudenysj/subscriptions","organizations_url":"https://api.github.com/users/coudenysj/orgs","repos_url":"https://api.github.com/users/coudenysj/repos","events_url":"https://api.github.com/users/coudenysj/events{/privacy}","received_events_url":"https://api.github.com/users/coudenysj/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/doctrine/mongodb-odm/labels/feature","name":"feature","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/doctrine/mongodb-odm/milestones/12","html_url":"https://github.com/doctrine/mongodb-odm/milestones/1.1","labels_url":"https://api.github.com/repos/doctrine/mongodb-odm/milestones/12/labels","id":1386633,"number":12,"title":"1.1","description":"","creator":{"login":"malarzm","id":4947711,"avatar_url":"https://avatars.githubusercontent.com/u/4947711?v=3","gravatar_id":"","url":"https://api.github.com/users/malarzm","html_url":"https://github.com/malarzm","followers_url":"https://api.github.com/users/malarzm/followers","following_url":"https://api.github.com/users/malarzm/following{/other_user}","gists_url":"https://api.github.com/users/malarzm/gists{/gist_id}","starred_url":"https://api.github.com/users/malarzm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/malarzm/subscriptions","organizations_url":"https://api.github.com/users/malarzm/orgs","repos_url":"https://api.github.com/users/malarzm/repos","events_url":"https://api.github.com/users/malarzm/events{/privacy}","received_events_url":"https://api.github.com/users/malarzm/received_events","type":"User","site_admin":false},"open_issues":6,"closed_issues":45,"state":"open","created_at":"2015-10-31T10:52:41Z","updated_at":"2016-05-08T19:20:24Z","due_on":null,"closed_at":null},"comments":20,"created_at":"2016-01-22T19:50:33Z","updated_at":"2016-05-09T18:47:32Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/doctrine/mongodb-odm/pulls/1349","html_url":"https://github.com/doctrine/mongodb-odm/pull/1349","diff_url":"https://github.com/doctrine/mongodb-odm/pull/1349.diff","patch_url":"https://github.com/doctrine/mongodb-odm/pull/1349.patch"},"body":"As discusses in #807, this pull requests starts using a `storeAs` option to support different storage formats:\r\n\r\n* `simple`: $id\r\n* `partial`: $id, $ref\r\n* `full`: $id, $ref, $db\r\n\r\nWith `full` being the default."},"comment":{"url":"https://api.github.com/repos/doctrine/mongodb-odm/issues/comments/217953409","html_url":"https://github.com/doctrine/mongodb-odm/pull/1349#issuecomment-217953409","issue_url":"https://api.github.com/repos/doctrine/mongodb-odm/issues/1349","id":217953409,"user":{"login":"malarzm","id":4947711,"avatar_url":"https://avatars.githubusercontent.com/u/4947711?v=3","gravatar_id":"","url":"https://api.github.com/users/malarzm","html_url":"https://github.com/malarzm","followers_url":"https://api.github.com/users/malarzm/followers","following_url":"https://api.github.com/users/malarzm/following{/other_user}","gists_url":"https://api.github.com/users/malarzm/gists{/gist_id}","starred_url":"https://api.github.com/users/malarzm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/malarzm/subscriptions","organizations_url":"https://api.github.com/users/malarzm/orgs","repos_url":"https://api.github.com/users/malarzm/repos","events_url":"https://api.github.com/users/malarzm/events{/privacy}","received_events_url":"https://api.github.com/users/malarzm/received_events","type":"User","site_admin":false},"created_at":"2016-05-09T18:47:31Z","updated_at":"2016-05-09T18:47:31Z","body":"Cool thanks, I'll try to review this once again today/tomorrow :)"}}