{"action":"closed","number":1487,"pull_request":{"url":"https://api.github.com/repos/doctrine/doctrine2/pulls/1487","id":41568478,"html_url":"https://github.com/doctrine/doctrine2/pull/1487","diff_url":"https://github.com/doctrine/doctrine2/pull/1487.diff","patch_url":"https://github.com/doctrine/doctrine2/pull/1487.patch","issue_url":"https://api.github.com/repos/doctrine/doctrine2/issues/1487","number":1487,"state":"closed","locked":false,"title":"[DDC-3864] Support any ordering of fields in partial object query with embeddable","user":{"login":"xxccdef","id":5106211,"avatar_url":"https://avatars.githubusercontent.com/u/5106211?v=3","gravatar_id":"","url":"https://api.github.com/users/xxccdef","html_url":"https://github.com/xxccdef","followers_url":"https://api.github.com/users/xxccdef/followers","following_url":"https://api.github.com/users/xxccdef/following{/other_user}","gists_url":"https://api.github.com/users/xxccdef/gists{/gist_id}","starred_url":"https://api.github.com/users/xxccdef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xxccdef/subscriptions","organizations_url":"https://api.github.com/users/xxccdef/orgs","repos_url":"https://api.github.com/users/xxccdef/repos","events_url":"https://api.github.com/users/xxccdef/events{/privacy}","received_events_url":"https://api.github.com/users/xxccdef/received_events","type":"User","site_admin":false},"body":"Current implementation of partial object query with embeddables breaks when first attribute in field set is embeddable attribute:\r\n\r\n```SELECT PARTIAL u.{name.first, id} FROM User```","created_at":"2015-08-04T13:19:28Z","updated_at":"2015-11-16T03:03:25Z","closed_at":"2015-11-16T03:03:25Z","merged_at":"2015-11-16T03:03:25Z","merge_commit_sha":"23411070dd02631a33976c335f3c226e373709e8","assignee":{"login":"guilhermeblanco","id":208883,"avatar_url":"https://avatars.githubusercontent.com/u/208883?v=3","gravatar_id":"","url":"https://api.github.com/users/guilhermeblanco","html_url":"https://github.com/guilhermeblanco","followers_url":"https://api.github.com/users/guilhermeblanco/followers","following_url":"https://api.github.com/users/guilhermeblanco/following{/other_user}","gists_url":"https://api.github.com/users/guilhermeblanco/gists{/gist_id}","starred_url":"https://api.github.com/users/guilhermeblanco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guilhermeblanco/subscriptions","organizations_url":"https://api.github.com/users/guilhermeblanco/orgs","repos_url":"https://api.github.com/users/guilhermeblanco/repos","events_url":"https://api.github.com/users/guilhermeblanco/events{/privacy}","received_events_url":"https://api.github.com/users/guilhermeblanco/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/doctrine/doctrine2/pulls/1487/commits","review_comments_url":"https://api.github.com/repos/doctrine/doctrine2/pulls/1487/comments","review_comment_url":"https://api.github.com/repos/doctrine/doctrine2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/doctrine/doctrine2/issues/1487/comments","statuses_url":"https://api.github.com/repos/doctrine/doctrine2/statuses/d4d9a2ba3c5da1f16e66692350f0d234afe89e0e","head":{"label":"xxccdef:DDC-3864","ref":"DDC-3864","sha":"d4d9a2ba3c5da1f16e66692350f0d234afe89e0e","user":{"login":"xxccdef","id":5106211,"avatar_url":"https://avatars.githubusercontent.com/u/5106211?v=3","gravatar_id":"","url":"https://api.github.com/users/xxccdef","html_url":"https://github.com/xxccdef","followers_url":"https://api.github.com/users/xxccdef/followers","following_url":"https://api.github.com/users/xxccdef/following{/other_user}","gists_url":"https://api.github.com/users/xxccdef/gists{/gist_id}","starred_url":"https://api.github.com/users/xxccdef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xxccdef/subscriptions","organizations_url":"https://api.github.com/users/xxccdef/orgs","repos_url":"https://api.github.com/users/xxccdef/repos","events_url":"https://api.github.com/users/xxccdef/events{/privacy}","received_events_url":"https://api.github.com/users/xxccdef/received_events","type":"User","site_admin":false},"repo":{"id":40167685,"name":"doctrine2","full_name":"xxccdef/doctrine2","owner":{"login":"xxccdef","id":5106211,"avatar_url":"https://avatars.githubusercontent.com/u/5106211?v=3","gravatar_id":"","url":"https://api.github.com/users/xxccdef","html_url":"https://github.com/xxccdef","followers_url":"https://api.github.com/users/xxccdef/followers","following_url":"https://api.github.com/users/xxccdef/following{/other_user}","gists_url":"https://api.github.com/users/xxccdef/gists{/gist_id}","starred_url":"https://api.github.com/users/xxccdef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xxccdef/subscriptions","organizations_url":"https://api.github.com/users/xxccdef/orgs","repos_url":"https://api.github.com/users/xxccdef/repos","events_url":"https://api.github.com/users/xxccdef/events{/privacy}","received_events_url":"https://api.github.com/users/xxccdef/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/xxccdef/doctrine2","description":"Doctrine 2 Object Relational Mapper (ORM)","fork":true,"url":"https://api.github.com/repos/xxccdef/doctrine2","forks_url":"https://api.github.com/repos/xxccdef/doctrine2/forks","keys_url":"https://api.github.com/repos/xxccdef/doctrine2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/xxccdef/doctrine2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/xxccdef/doctrine2/teams","hooks_url":"https://api.github.com/repos/xxccdef/doctrine2/hooks","issue_events_url":"https://api.github.com/repos/xxccdef/doctrine2/issues/events{/number}","events_url":"https://api.github.com/repos/xxccdef/doctrine2/events","assignees_url":"https://api.github.com/repos/xxccdef/doctrine2/assignees{/user}","branches_url":"https://api.github.com/repos/xxccdef/doctrine2/branches{/branch}","tags_url":"https://api.github.com/repos/xxccdef/doctrine2/tags","blobs_url":"https://api.github.com/repos/xxccdef/doctrine2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/xxccdef/doctrine2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/xxccdef/doctrine2/git/refs{/sha}","trees_url":"https://api.github.com/repos/xxccdef/doctrine2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/xxccdef/doctrine2/statuses/{sha}","languages_url":"https://api.github.com/repos/xxccdef/doctrine2/languages","stargazers_url":"https://api.github.com/repos/xxccdef/doctrine2/stargazers","contributors_url":"https://api.github.com/repos/xxccdef/doctrine2/contributors","subscribers_url":"https://api.github.com/repos/xxccdef/doctrine2/subscribers","subscription_url":"https://api.github.com/repos/xxccdef/doctrine2/subscription","commits_url":"https://api.github.com/repos/xxccdef/doctrine2/commits{/sha}","git_commits_url":"https://api.github.com/repos/xxccdef/doctrine2/git/commits{/sha}","comments_url":"https://api.github.com/repos/xxccdef/doctrine2/comments{/number}","issue_comment_url":"https://api.github.com/repos/xxccdef/doctrine2/issues/comments{/number}","contents_url":"https://api.github.com/repos/xxccdef/doctrine2/contents/{+path}","compare_url":"https://api.github.com/repos/xxccdef/doctrine2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/xxccdef/doctrine2/merges","archive_url":"https://api.github.com/repos/xxccdef/doctrine2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/xxccdef/doctrine2/downloads","issues_url":"https://api.github.com/repos/xxccdef/doctrine2/issues{/number}","pulls_url":"https://api.github.com/repos/xxccdef/doctrine2/pulls{/number}","milestones_url":"https://api.github.com/repos/xxccdef/doctrine2/milestones{/number}","notifications_url":"https://api.github.com/repos/xxccdef/doctrine2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/xxccdef/doctrine2/labels{/name}","releases_url":"https://api.github.com/repos/xxccdef/doctrine2/releases{/id}","created_at":"2015-08-04T06:37:32Z","updated_at":"2015-08-04T06:37:36Z","pushed_at":"2015-08-04T13:17:33Z","git_url":"git://github.com/xxccdef/doctrine2.git","ssh_url":"git@github.com:xxccdef/doctrine2.git","clone_url":"https://github.com/xxccdef/doctrine2.git","svn_url":"https://github.com/xxccdef/doctrine2","homepage":"http://www.doctrine-project.org","size":26565,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"doctrine:master","ref":"master","sha":"71b1dde0961a3094eba2e4a95bda390bd7446e53","user":{"login":"doctrine","id":209254,"avatar_url":"https://avatars.githubusercontent.com/u/209254?v=3","gravatar_id":"","url":"https://api.github.com/users/doctrine","html_url":"https://github.com/doctrine","followers_url":"https://api.github.com/users/doctrine/followers","following_url":"https://api.github.com/users/doctrine/following{/other_user}","gists_url":"https://api.github.com/users/doctrine/gists{/gist_id}","starred_url":"https://api.github.com/users/doctrine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/doctrine/subscriptions","organizations_url":"https://api.github.com/users/doctrine/orgs","repos_url":"https://api.github.com/users/doctrine/repos","events_url":"https://api.github.com/users/doctrine/events{/privacy}","received_events_url":"https://api.github.com/users/doctrine/received_events","type":"Organization","site_admin":false},"repo":{"id":597887,"name":"doctrine2","full_name":"doctrine/doctrine2","owner":{"login":"doctrine","id":209254,"avatar_url":"https://avatars.githubusercontent.com/u/209254?v=3","gravatar_id":"","url":"https://api.github.com/users/doctrine","html_url":"https://github.com/doctrine","followers_url":"https://api.github.com/users/doctrine/followers","following_url":"https://api.github.com/users/doctrine/following{/other_user}","gists_url":"https://api.github.com/users/doctrine/gists{/gist_id}","starred_url":"https://api.github.com/users/doctrine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/doctrine/subscriptions","organizations_url":"https://api.github.com/users/doctrine/orgs","repos_url":"https://api.github.com/users/doctrine/repos","events_url":"https://api.github.com/users/doctrine/events{/privacy}","received_events_url":"https://api.github.com/users/doctrine/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/doctrine/doctrine2","description":"Doctrine 2 Object Relational Mapper (ORM)","fork":false,"url":"https://api.github.com/repos/doctrine/doctrine2","forks_url":"https://api.github.com/repos/doctrine/doctrine2/forks","keys_url":"https://api.github.com/repos/doctrine/doctrine2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/doctrine/doctrine2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/doctrine/doctrine2/teams","hooks_url":"https://api.github.com/repos/doctrine/doctrine2/hooks","issue_events_url":"https://api.github.com/repos/doctrine/doctrine2/issues/events{/number}","events_url":"https://api.github.com/repos/doctrine/doctrine2/events","assignees_url":"https://api.github.com/repos/doctrine/doctrine2/assignees{/user}","branches_url":"https://api.github.com/repos/doctrine/doctrine2/branches{/branch}","tags_url":"https://api.github.com/repos/doctrine/doctrine2/tags","blobs_url":"https://api.github.com/repos/doctrine/doctrine2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/doctrine/doctrine2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/doctrine/doctrine2/git/refs{/sha}","trees_url":"https://api.github.com/repos/doctrine/doctrine2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/doctrine/doctrine2/statuses/{sha}","languages_url":"https://api.github.com/repos/doctrine/doctrine2/languages","stargazers_url":"https://api.github.com/repos/doctrine/doctrine2/stargazers","contributors_url":"https://api.github.com/repos/doctrine/doctrine2/contributors","subscribers_url":"https://api.github.com/repos/doctrine/doctrine2/subscribers","subscription_url":"https://api.github.com/repos/doctrine/doctrine2/subscription","commits_url":"https://api.github.com/repos/doctrine/doctrine2/commits{/sha}","git_commits_url":"https://api.github.com/repos/doctrine/doctrine2/git/commits{/sha}","comments_url":"https://api.github.com/repos/doctrine/doctrine2/comments{/number}","issue_comment_url":"https://api.github.com/repos/doctrine/doctrine2/issues/comments{/number}","contents_url":"https://api.github.com/repos/doctrine/doctrine2/contents/{+path}","compare_url":"https://api.github.com/repos/doctrine/doctrine2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/doctrine/doctrine2/merges","archive_url":"https://api.github.com/repos/doctrine/doctrine2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/doctrine/doctrine2/downloads","issues_url":"https://api.github.com/repos/doctrine/doctrine2/issues{/number}","pulls_url":"https://api.github.com/repos/doctrine/doctrine2/pulls{/number}","milestones_url":"https://api.github.com/repos/doctrine/doctrine2/milestones{/number}","notifications_url":"https://api.github.com/repos/doctrine/doctrine2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/doctrine/doctrine2/labels{/name}","releases_url":"https://api.github.com/repos/doctrine/doctrine2/releases{/id}","created_at":"2010-04-06T21:42:59Z","updated_at":"2015-11-14T23:11:27Z","pushed_at":"2015-11-16T03:03:25Z","git_url":"git://github.com/doctrine/doctrine2.git","ssh_url":"git@github.com:doctrine/doctrine2.git","clone_url":"https://github.com/doctrine/doctrine2.git","svn_url":"https://github.com/doctrine/doctrine2","homepage":"http://www.doctrine-project.org","size":45704,"stargazers_count":2785,"watchers_count":2785,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1390,"mirror_url":null,"open_issues_count":93,"forks":1390,"open_issues":93,"watchers":2785,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/doctrine/doctrine2/pulls/1487"},"html":{"href":"https://github.com/doctrine/doctrine2/pull/1487"},"issue":{"href":"https://api.github.com/repos/doctrine/doctrine2/issues/1487"},"comments":{"href":"https://api.github.com/repos/doctrine/doctrine2/issues/1487/comments"},"review_comments":{"href":"https://api.github.com/repos/doctrine/doctrine2/pulls/1487/comments"},"review_comment":{"href":"https://api.github.com/repos/doctrine/doctrine2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/doctrine/doctrine2/pulls/1487/commits"},"statuses":{"href":"https://api.github.com/repos/doctrine/doctrine2/statuses/d4d9a2ba3c5da1f16e66692350f0d234afe89e0e"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"guilhermeblanco","id":208883,"avatar_url":"https://avatars.githubusercontent.com/u/208883?v=3","gravatar_id":"","url":"https://api.github.com/users/guilhermeblanco","html_url":"https://github.com/guilhermeblanco","followers_url":"https://api.github.com/users/guilhermeblanco/followers","following_url":"https://api.github.com/users/guilhermeblanco/following{/other_user}","gists_url":"https://api.github.com/users/guilhermeblanco/gists{/gist_id}","starred_url":"https://api.github.com/users/guilhermeblanco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guilhermeblanco/subscriptions","organizations_url":"https://api.github.com/users/guilhermeblanco/orgs","repos_url":"https://api.github.com/users/guilhermeblanco/repos","events_url":"https://api.github.com/users/guilhermeblanco/events{/privacy}","received_events_url":"https://api.github.com/users/guilhermeblanco/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":1,"additions":26,"deletions":1,"changed_files":2}}