{"pull_request":{"state":"open","user":{"avatar_url":"https://secure.gravatar.com/avatar/90f8ce90f35e4846a8e3e25cf0842638?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"90f8ce90f35e4846a8e3e25cf0842638","url":"https://api.github.com/users/royra","login":"royra","id":1114444},"deletions":5,"merged_by":null,"updated_at":"2011-11-01T14:30:33Z","comments":0,"base":{"ref":"master","repo":{"name":"mongodb-odm","pushed_at":"2011-11-01T14:30:33Z","fork":false,"master_branch":null,"homepage":"http://www.doctrine-project.org/projects/mongodb_odm","clone_url":"https://github.com/doctrine/mongodb-odm.git","open_issues":32,"updated_at":"2011-11-01T14:30:33Z","language":"PHP","private":false,"forks":68,"svn_url":"https://svn.github.com/doctrine/mongodb-odm","url":"https://api.github.com/repos/doctrine/mongodb-odm","owner":{"avatar_url":"https://secure.gravatar.com/avatar/ba1cea66dea9be22341d7d104d0f22b1?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-orgs.png","gravatar_id":"ba1cea66dea9be22341d7d104d0f22b1","url":"https://api.github.com/users/doctrine","login":"doctrine","id":209254},"html_url":"https://github.com/doctrine/mongodb-odm","description":"Doctrine MongoDB Object Document Mapper (ODM)","size":872,"id":677781,"watchers":225,"git_url":"git://github.com/doctrine/mongodb-odm.git","created_at":"2010-05-20T20:20:00Z","ssh_url":"git@github.com:doctrine/mongodb-odm.git"},"user":{"avatar_url":"https://secure.gravatar.com/avatar/ba1cea66dea9be22341d7d104d0f22b1?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-orgs.png","gravatar_id":"ba1cea66dea9be22341d7d104d0f22b1","url":"https://api.github.com/users/doctrine","login":"doctrine","id":209254},"label":"doctrine:master","sha":"10ac0ebb45310068b447b8bddb957f429703f74b"},"commits":1,"diff_url":"https://github.com/doctrine/mongodb-odm/pull/179.diff","closed_at":null,"url":"https://api.github.com/repos/doctrine/mongodb-odm/pulls/179","additions":36,"merged":false,"head":{"ref":"embedded_parent_field","repo":{"name":"mongodb-odm","pushed_at":"2011-11-01T14:25:20Z","fork":true,"master_branch":null,"homepage":"http://www.doctrine-project.org/projects/mongodb_odm","clone_url":"https://github.com/royra/mongodb-odm.git","open_issues":0,"updated_at":"2011-11-01T14:25:20Z","language":"PHP","private":false,"forks":0,"svn_url":"https://svn.github.com/royra/mongodb-odm","url":"https://api.github.com/repos/royra/mongodb-odm","owner":{"avatar_url":"https://secure.gravatar.com/avatar/90f8ce90f35e4846a8e3e25cf0842638?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"90f8ce90f35e4846a8e3e25cf0842638","url":"https://api.github.com/users/royra","login":"royra","id":1114444},"html_url":"https://github.com/royra/mongodb-odm","description":"Doctrine MongoDB Object Document Mapper (ODM)","size":156,"id":2543539,"watchers":1,"git_url":"git://github.com/royra/mongodb-odm.git","created_at":"2011-10-09T17:22:12Z","ssh_url":"git@github.com:royra/mongodb-odm.git"},"user":{"avatar_url":"https://secure.gravatar.com/avatar/90f8ce90f35e4846a8e3e25cf0842638?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"90f8ce90f35e4846a8e3e25cf0842638","url":"https://api.github.com/users/royra","login":"royra","id":1114444},"label":"royra:embedded_parent_field","sha":"3b2d45f3c0fb7a858d794e37b1ed1cc5478692c1"},"merged_at":null,"body":"This is an initial patch, but it seems to be working for me.\r\n\r\nMarking a field as \"parent\" is only supported using annotations for now using the \"TheParent\" annotation. I will add support for the other metadata sources as required.\r\n\r\nPlease let me know what you think.\r\n\r\nRoy.","issue_url":"https://github.com/doctrine/mongodb-odm/issues/179","review_comments":0,"html_url":"https://github.com/doctrine/mongodb-odm/pull/179","_links":{"comments":{"href":"https://api.github.com/repos/doctrine/mongodb-odm/issues/179/comments"},"html":{"href":"https://github.com/doctrine/mongodb-odm/pull/179"},"review_comments":{"href":"https://api.github.com/repos/doctrine/mongodb-odm/pulls/179/comments"},"self":{"href":"https://api.github.com/repos/doctrine/mongodb-odm/pulls/179"}},"number":179,"title":"initial patch to enable marking a field as parent for embedded docs","mergeable":null,"id":452328,"patch_url":"https://github.com/doctrine/mongodb-odm/pull/179.patch","changed_files":4,"created_at":"2011-11-01T14:30:33Z"},"action":"opened","number":179}