{"action":"opened","number":84,"pull_request":{"url":"https://api.github.com/repos/pietermartin/sqlg/pulls/84","id":90516721,"html_url":"https://github.com/pietermartin/sqlg/pull/84","diff_url":"https://github.com/pietermartin/sqlg/pull/84.diff","patch_url":"https://github.com/pietermartin/sqlg/pull/84.patch","issue_url":"https://api.github.com/repos/pietermartin/sqlg/issues/84","number":84,"state":"open","locked":false,"title":"another case where we can generate order by in SQL","user":{"login":"JPMoresmau","id":122273,"avatar_url":"https://avatars.githubusercontent.com/u/122273?v=3","gravatar_id":"","url":"https://api.github.com/users/JPMoresmau","html_url":"https://github.com/JPMoresmau","followers_url":"https://api.github.com/users/JPMoresmau/followers","following_url":"https://api.github.com/users/JPMoresmau/following{/other_user}","gists_url":"https://api.github.com/users/JPMoresmau/gists{/gist_id}","starred_url":"https://api.github.com/users/JPMoresmau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JPMoresmau/subscriptions","organizations_url":"https://api.github.com/users/JPMoresmau/orgs","repos_url":"https://api.github.com/users/JPMoresmau/repos","events_url":"https://api.github.com/users/JPMoresmau/events{/privacy}","received_events_url":"https://api.github.com/users/JPMoresmau/received_events","type":"User","site_admin":false},"body":"Fixes #77 , at least partially. In my case when I run the tests I got a different structure, a Pair with a ElementValueTraversal and an Order. So we deal with that the same way as an ElementValueComparator. ","created_at":"2016-10-23T14:12:16Z","updated_at":"2016-10-23T14:12:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/pietermartin/sqlg/pulls/84/commits","review_comments_url":"https://api.github.com/repos/pietermartin/sqlg/pulls/84/comments","review_comment_url":"https://api.github.com/repos/pietermartin/sqlg/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pietermartin/sqlg/issues/84/comments","statuses_url":"https://api.github.com/repos/pietermartin/sqlg/statuses/63927ee3ce778e1b34580c709460d0ba032b8f2a","head":{"label":"JPMoresmau:add_orderby","ref":"add_orderby","sha":"63927ee3ce778e1b34580c709460d0ba032b8f2a","user":{"login":"JPMoresmau","id":122273,"avatar_url":"https://avatars.githubusercontent.com/u/122273?v=3","gravatar_id":"","url":"https://api.github.com/users/JPMoresmau","html_url":"https://github.com/JPMoresmau","followers_url":"https://api.github.com/users/JPMoresmau/followers","following_url":"https://api.github.com/users/JPMoresmau/following{/other_user}","gists_url":"https://api.github.com/users/JPMoresmau/gists{/gist_id}","starred_url":"https://api.github.com/users/JPMoresmau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JPMoresmau/subscriptions","organizations_url":"https://api.github.com/users/JPMoresmau/orgs","repos_url":"https://api.github.com/users/JPMoresmau/repos","events_url":"https://api.github.com/users/JPMoresmau/events{/privacy}","received_events_url":"https://api.github.com/users/JPMoresmau/received_events","type":"User","site_admin":false},"repo":{"id":69477650,"name":"sqlg","full_name":"JPMoresmau/sqlg","owner":{"login":"JPMoresmau","id":122273,"avatar_url":"https://avatars.githubusercontent.com/u/122273?v=3","gravatar_id":"","url":"https://api.github.com/users/JPMoresmau","html_url":"https://github.com/JPMoresmau","followers_url":"https://api.github.com/users/JPMoresmau/followers","following_url":"https://api.github.com/users/JPMoresmau/following{/other_user}","gists_url":"https://api.github.com/users/JPMoresmau/gists{/gist_id}","starred_url":"https://api.github.com/users/JPMoresmau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JPMoresmau/subscriptions","organizations_url":"https://api.github.com/users/JPMoresmau/orgs","repos_url":"https://api.github.com/users/JPMoresmau/repos","events_url":"https://api.github.com/users/JPMoresmau/events{/privacy}","received_events_url":"https://api.github.com/users/JPMoresmau/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/JPMoresmau/sqlg","description":"tinkerpop3 graph over sql","fork":true,"url":"https://api.github.com/repos/JPMoresmau/sqlg","forks_url":"https://api.github.com/repos/JPMoresmau/sqlg/forks","keys_url":"https://api.github.com/repos/JPMoresmau/sqlg/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JPMoresmau/sqlg/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JPMoresmau/sqlg/teams","hooks_url":"https://api.github.com/repos/JPMoresmau/sqlg/hooks","issue_events_url":"https://api.github.com/repos/JPMoresmau/sqlg/issues/events{/number}","events_url":"https://api.github.com/repos/JPMoresmau/sqlg/events","assignees_url":"https://api.github.com/repos/JPMoresmau/sqlg/assignees{/user}","branches_url":"https://api.github.com/repos/JPMoresmau/sqlg/branches{/branch}","tags_url":"https://api.github.com/repos/JPMoresmau/sqlg/tags","blobs_url":"https://api.github.com/repos/JPMoresmau/sqlg/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JPMoresmau/sqlg/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JPMoresmau/sqlg/git/refs{/sha}","trees_url":"https://api.github.com/repos/JPMoresmau/sqlg/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JPMoresmau/sqlg/statuses/{sha}","languages_url":"https://api.github.com/repos/JPMoresmau/sqlg/languages","stargazers_url":"https://api.github.com/repos/JPMoresmau/sqlg/stargazers","contributors_url":"https://api.github.com/repos/JPMoresmau/sqlg/contributors","subscribers_url":"https://api.github.com/repos/JPMoresmau/sqlg/subscribers","subscription_url":"https://api.github.com/repos/JPMoresmau/sqlg/subscription","commits_url":"https://api.github.com/repos/JPMoresmau/sqlg/commits{/sha}","git_commits_url":"https://api.github.com/repos/JPMoresmau/sqlg/git/commits{/sha}","comments_url":"https://api.github.com/repos/JPMoresmau/sqlg/comments{/number}","issue_comment_url":"https://api.github.com/repos/JPMoresmau/sqlg/issues/comments{/number}","contents_url":"https://api.github.com/repos/JPMoresmau/sqlg/contents/{+path}","compare_url":"https://api.github.com/repos/JPMoresmau/sqlg/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JPMoresmau/sqlg/merges","archive_url":"https://api.github.com/repos/JPMoresmau/sqlg/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JPMoresmau/sqlg/downloads","issues_url":"https://api.github.com/repos/JPMoresmau/sqlg/issues{/number}","pulls_url":"https://api.github.com/repos/JPMoresmau/sqlg/pulls{/number}","milestones_url":"https://api.github.com/repos/JPMoresmau/sqlg/milestones{/number}","notifications_url":"https://api.github.com/repos/JPMoresmau/sqlg/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JPMoresmau/sqlg/labels{/name}","releases_url":"https://api.github.com/repos/JPMoresmau/sqlg/releases{/id}","deployments_url":"https://api.github.com/repos/JPMoresmau/sqlg/deployments","created_at":"2016-09-28T15:33:08Z","updated_at":"2016-09-28T15:33:10Z","pushed_at":"2016-10-23T14:10:58Z","git_url":"git://github.com/JPMoresmau/sqlg.git","ssh_url":"git@github.com:JPMoresmau/sqlg.git","clone_url":"https://github.com/JPMoresmau/sqlg.git","svn_url":"https://github.com/JPMoresmau/sqlg","homepage":null,"size":3499,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"pietermartin:master","ref":"master","sha":"caf3f54568bb7155bf87f9415707a26214bf3977","user":{"login":"pietermartin","id":439356,"avatar_url":"https://avatars.githubusercontent.com/u/439356?v=3","gravatar_id":"","url":"https://api.github.com/users/pietermartin","html_url":"https://github.com/pietermartin","followers_url":"https://api.github.com/users/pietermartin/followers","following_url":"https://api.github.com/users/pietermartin/following{/other_user}","gists_url":"https://api.github.com/users/pietermartin/gists{/gist_id}","starred_url":"https://api.github.com/users/pietermartin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pietermartin/subscriptions","organizations_url":"https://api.github.com/users/pietermartin/orgs","repos_url":"https://api.github.com/users/pietermartin/repos","events_url":"https://api.github.com/users/pietermartin/events{/privacy}","received_events_url":"https://api.github.com/users/pietermartin/received_events","type":"User","site_admin":false},"repo":{"id":21758708,"name":"sqlg","full_name":"pietermartin/sqlg","owner":{"login":"pietermartin","id":439356,"avatar_url":"https://avatars.githubusercontent.com/u/439356?v=3","gravatar_id":"","url":"https://api.github.com/users/pietermartin","html_url":"https://github.com/pietermartin","followers_url":"https://api.github.com/users/pietermartin/followers","following_url":"https://api.github.com/users/pietermartin/following{/other_user}","gists_url":"https://api.github.com/users/pietermartin/gists{/gist_id}","starred_url":"https://api.github.com/users/pietermartin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pietermartin/subscriptions","organizations_url":"https://api.github.com/users/pietermartin/orgs","repos_url":"https://api.github.com/users/pietermartin/repos","events_url":"https://api.github.com/users/pietermartin/events{/privacy}","received_events_url":"https://api.github.com/users/pietermartin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pietermartin/sqlg","description":"tinkerpop3 graph over sql","fork":false,"url":"https://api.github.com/repos/pietermartin/sqlg","forks_url":"https://api.github.com/repos/pietermartin/sqlg/forks","keys_url":"https://api.github.com/repos/pietermartin/sqlg/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pietermartin/sqlg/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pietermartin/sqlg/teams","hooks_url":"https://api.github.com/repos/pietermartin/sqlg/hooks","issue_events_url":"https://api.github.com/repos/pietermartin/sqlg/issues/events{/number}","events_url":"https://api.github.com/repos/pietermartin/sqlg/events","assignees_url":"https://api.github.com/repos/pietermartin/sqlg/assignees{/user}","branches_url":"https://api.github.com/repos/pietermartin/sqlg/branches{/branch}","tags_url":"https://api.github.com/repos/pietermartin/sqlg/tags","blobs_url":"https://api.github.com/repos/pietermartin/sqlg/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pietermartin/sqlg/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pietermartin/sqlg/git/refs{/sha}","trees_url":"https://api.github.com/repos/pietermartin/sqlg/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pietermartin/sqlg/statuses/{sha}","languages_url":"https://api.github.com/repos/pietermartin/sqlg/languages","stargazers_url":"https://api.github.com/repos/pietermartin/sqlg/stargazers","contributors_url":"https://api.github.com/repos/pietermartin/sqlg/contributors","subscribers_url":"https://api.github.com/repos/pietermartin/sqlg/subscribers","subscription_url":"https://api.github.com/repos/pietermartin/sqlg/subscription","commits_url":"https://api.github.com/repos/pietermartin/sqlg/commits{/sha}","git_commits_url":"https://api.github.com/repos/pietermartin/sqlg/git/commits{/sha}","comments_url":"https://api.github.com/repos/pietermartin/sqlg/comments{/number}","issue_comment_url":"https://api.github.com/repos/pietermartin/sqlg/issues/comments{/number}","contents_url":"https://api.github.com/repos/pietermartin/sqlg/contents/{+path}","compare_url":"https://api.github.com/repos/pietermartin/sqlg/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pietermartin/sqlg/merges","archive_url":"https://api.github.com/repos/pietermartin/sqlg/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pietermartin/sqlg/downloads","issues_url":"https://api.github.com/repos/pietermartin/sqlg/issues{/number}","pulls_url":"https://api.github.com/repos/pietermartin/sqlg/pulls{/number}","milestones_url":"https://api.github.com/repos/pietermartin/sqlg/milestones{/number}","notifications_url":"https://api.github.com/repos/pietermartin/sqlg/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pietermartin/sqlg/labels{/name}","releases_url":"https://api.github.com/repos/pietermartin/sqlg/releases{/id}","deployments_url":"https://api.github.com/repos/pietermartin/sqlg/deployments","created_at":"2014-07-12T03:34:07Z","updated_at":"2016-10-22T19:23:49Z","pushed_at":"2016-10-23T12:15:13Z","git_url":"git://github.com/pietermartin/sqlg.git","ssh_url":"git@github.com:pietermartin/sqlg.git","clone_url":"https://github.com/pietermartin/sqlg.git","svn_url":"https://github.com/pietermartin/sqlg","homepage":null,"size":3909,"stargazers_count":55,"watchers_count":55,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":12,"mirror_url":null,"open_issues_count":23,"forks":12,"open_issues":23,"watchers":55,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pietermartin/sqlg/pulls/84"},"html":{"href":"https://github.com/pietermartin/sqlg/pull/84"},"issue":{"href":"https://api.github.com/repos/pietermartin/sqlg/issues/84"},"comments":{"href":"https://api.github.com/repos/pietermartin/sqlg/issues/84/comments"},"review_comments":{"href":"https://api.github.com/repos/pietermartin/sqlg/pulls/84/comments"},"review_comment":{"href":"https://api.github.com/repos/pietermartin/sqlg/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pietermartin/sqlg/pulls/84/commits"},"statuses":{"href":"https://api.github.com/repos/pietermartin/sqlg/statuses/63927ee3ce778e1b34580c709460d0ba032b8f2a"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":30,"deletions":3,"changed_files":2}}
{"actor":{"display_login":"JPMoresmau"}}