{"action":"opened","number":2445,"pull_request":{"url":"https://api.github.com/repos/elixir-ecto/ecto/pulls/2445","id":171056391,"html_url":"https://github.com/elixir-ecto/ecto/pull/2445","diff_url":"https://github.com/elixir-ecto/ecto/pull/2445.diff","patch_url":"https://github.com/elixir-ecto/ecto/pull/2445.patch","issue_url":"https://api.github.com/repos/elixir-ecto/ecto/issues/2445","number":2445,"state":"open","locked":false,"title":"Include `:as` in inspected queries","user":{"login":"zoldar","id":588351,"avatar_url":"https://avatars0.githubusercontent.com/u/588351?v=4","gravatar_id":"","url":"https://api.github.com/users/zoldar","html_url":"https://github.com/zoldar","followers_url":"https://api.github.com/users/zoldar/followers","following_url":"https://api.github.com/users/zoldar/following{/other_user}","gists_url":"https://api.github.com/users/zoldar/gists{/gist_id}","starred_url":"https://api.github.com/users/zoldar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zoldar/subscriptions","organizations_url":"https://api.github.com/users/zoldar/orgs","repos_url":"https://api.github.com/users/zoldar/repos","events_url":"https://api.github.com/users/zoldar/events{/privacy}","received_events_url":"https://api.github.com/users/zoldar/received_events","type":"User","site_admin":false},"body":"Refs #2389 \r\n\r\nI have (re)introduced `:as` attribute in `JoinExpr` struct for convenience of converting expressions on inspect. I'm not too happy with the way the `as` expression is put in the list in `Inspect.join` but couldn't think of a better way ATM that wouldn't hinder the readability even further.","created_at":"2018-02-23T16:22:36Z","updated_at":"2018-02-23T16:22:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/elixir-ecto/ecto/pulls/2445/commits","review_comments_url":"https://api.github.com/repos/elixir-ecto/ecto/pulls/2445/comments","review_comment_url":"https://api.github.com/repos/elixir-ecto/ecto/pulls/comments{/number}","comments_url":"https://api.github.com/repos/elixir-ecto/ecto/issues/2445/comments","statuses_url":"https://api.github.com/repos/elixir-ecto/ecto/statuses/536bbbaa133c3afd5172ad557c258f63edd54681","head":{"label":"zoldar:zoldar-account-for-as-in-inspect","ref":"zoldar-account-for-as-in-inspect","sha":"536bbbaa133c3afd5172ad557c258f63edd54681","user":{"login":"zoldar","id":588351,"avatar_url":"https://avatars0.githubusercontent.com/u/588351?v=4","gravatar_id":"","url":"https://api.github.com/users/zoldar","html_url":"https://github.com/zoldar","followers_url":"https://api.github.com/users/zoldar/followers","following_url":"https://api.github.com/users/zoldar/following{/other_user}","gists_url":"https://api.github.com/users/zoldar/gists{/gist_id}","starred_url":"https://api.github.com/users/zoldar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zoldar/subscriptions","organizations_url":"https://api.github.com/users/zoldar/orgs","repos_url":"https://api.github.com/users/zoldar/repos","events_url":"https://api.github.com/users/zoldar/events{/privacy}","received_events_url":"https://api.github.com/users/zoldar/received_events","type":"User","site_admin":false},"repo":{"id":112741014,"name":"ecto","full_name":"zoldar/ecto","owner":{"login":"zoldar","id":588351,"avatar_url":"https://avatars0.githubusercontent.com/u/588351?v=4","gravatar_id":"","url":"https://api.github.com/users/zoldar","html_url":"https://github.com/zoldar","followers_url":"https://api.github.com/users/zoldar/followers","following_url":"https://api.github.com/users/zoldar/following{/other_user}","gists_url":"https://api.github.com/users/zoldar/gists{/gist_id}","starred_url":"https://api.github.com/users/zoldar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zoldar/subscriptions","organizations_url":"https://api.github.com/users/zoldar/orgs","repos_url":"https://api.github.com/users/zoldar/repos","events_url":"https://api.github.com/users/zoldar/events{/privacy}","received_events_url":"https://api.github.com/users/zoldar/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/zoldar/ecto","description":"A database wrapper and language integrated query for Elixir","fork":true,"url":"https://api.github.com/repos/zoldar/ecto","forks_url":"https://api.github.com/repos/zoldar/ecto/forks","keys_url":"https://api.github.com/repos/zoldar/ecto/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zoldar/ecto/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zoldar/ecto/teams","hooks_url":"https://api.github.com/repos/zoldar/ecto/hooks","issue_events_url":"https://api.github.com/repos/zoldar/ecto/issues/events{/number}","events_url":"https://api.github.com/repos/zoldar/ecto/events","assignees_url":"https://api.github.com/repos/zoldar/ecto/assignees{/user}","branches_url":"https://api.github.com/repos/zoldar/ecto/branches{/branch}","tags_url":"https://api.github.com/repos/zoldar/ecto/tags","blobs_url":"https://api.github.com/repos/zoldar/ecto/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zoldar/ecto/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zoldar/ecto/git/refs{/sha}","trees_url":"https://api.github.com/repos/zoldar/ecto/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zoldar/ecto/statuses/{sha}","languages_url":"https://api.github.com/repos/zoldar/ecto/languages","stargazers_url":"https://api.github.com/repos/zoldar/ecto/stargazers","contributors_url":"https://api.github.com/repos/zoldar/ecto/contributors","subscribers_url":"https://api.github.com/repos/zoldar/ecto/subscribers","subscription_url":"https://api.github.com/repos/zoldar/ecto/subscription","commits_url":"https://api.github.com/repos/zoldar/ecto/commits{/sha}","git_commits_url":"https://api.github.com/repos/zoldar/ecto/git/commits{/sha}","comments_url":"https://api.github.com/repos/zoldar/ecto/comments{/number}","issue_comment_url":"https://api.github.com/repos/zoldar/ecto/issues/comments{/number}","contents_url":"https://api.github.com/repos/zoldar/ecto/contents/{+path}","compare_url":"https://api.github.com/repos/zoldar/ecto/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zoldar/ecto/merges","archive_url":"https://api.github.com/repos/zoldar/ecto/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zoldar/ecto/downloads","issues_url":"https://api.github.com/repos/zoldar/ecto/issues{/number}","pulls_url":"https://api.github.com/repos/zoldar/ecto/pulls{/number}","milestones_url":"https://api.github.com/repos/zoldar/ecto/milestones{/number}","notifications_url":"https://api.github.com/repos/zoldar/ecto/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zoldar/ecto/labels{/name}","releases_url":"https://api.github.com/repos/zoldar/ecto/releases{/id}","deployments_url":"https://api.github.com/repos/zoldar/ecto/deployments","created_at":"2017-12-01T13:07:30Z","updated_at":"2017-12-01T13:07:32Z","pushed_at":"2018-02-23T16:20:20Z","git_url":"git://github.com/zoldar/ecto.git","ssh_url":"git@github.com:zoldar/ecto.git","clone_url":"https://github.com/zoldar/ecto.git","svn_url":"https://github.com/zoldar/ecto","homepage":"https://hexdocs.pm/ecto","size":10278,"stargazers_count":0,"watchers_count":0,"language":"Elixir","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"elixir-ecto:master","ref":"master","sha":"8f794a2b2df9432797f57720a073196b2b74ffbe","user":{"login":"elixir-ecto","id":19973437,"avatar_url":"https://avatars3.githubusercontent.com/u/19973437?v=4","gravatar_id":"","url":"https://api.github.com/users/elixir-ecto","html_url":"https://github.com/elixir-ecto","followers_url":"https://api.github.com/users/elixir-ecto/followers","following_url":"https://api.github.com/users/elixir-ecto/following{/other_user}","gists_url":"https://api.github.com/users/elixir-ecto/gists{/gist_id}","starred_url":"https://api.github.com/users/elixir-ecto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elixir-ecto/subscriptions","organizations_url":"https://api.github.com/users/elixir-ecto/orgs","repos_url":"https://api.github.com/users/elixir-ecto/repos","events_url":"https://api.github.com/users/elixir-ecto/events{/privacy}","received_events_url":"https://api.github.com/users/elixir-ecto/received_events","type":"Organization","site_admin":false},"repo":{"id":10649374,"name":"ecto","full_name":"elixir-ecto/ecto","owner":{"login":"elixir-ecto","id":19973437,"avatar_url":"https://avatars3.githubusercontent.com/u/19973437?v=4","gravatar_id":"","url":"https://api.github.com/users/elixir-ecto","html_url":"https://github.com/elixir-ecto","followers_url":"https://api.github.com/users/elixir-ecto/followers","following_url":"https://api.github.com/users/elixir-ecto/following{/other_user}","gists_url":"https://api.github.com/users/elixir-ecto/gists{/gist_id}","starred_url":"https://api.github.com/users/elixir-ecto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elixir-ecto/subscriptions","organizations_url":"https://api.github.com/users/elixir-ecto/orgs","repos_url":"https://api.github.com/users/elixir-ecto/repos","events_url":"https://api.github.com/users/elixir-ecto/events{/privacy}","received_events_url":"https://api.github.com/users/elixir-ecto/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/elixir-ecto/ecto","description":"A database wrapper and language integrated query for Elixir","fork":false,"url":"https://api.github.com/repos/elixir-ecto/ecto","forks_url":"https://api.github.com/repos/elixir-ecto/ecto/forks","keys_url":"https://api.github.com/repos/elixir-ecto/ecto/keys{/key_id}","collaborators_url":"https://api.github.com/repos/elixir-ecto/ecto/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/elixir-ecto/ecto/teams","hooks_url":"https://api.github.com/repos/elixir-ecto/ecto/hooks","issue_events_url":"https://api.github.com/repos/elixir-ecto/ecto/issues/events{/number}","events_url":"https://api.github.com/repos/elixir-ecto/ecto/events","assignees_url":"https://api.github.com/repos/elixir-ecto/ecto/assignees{/user}","branches_url":"https://api.github.com/repos/elixir-ecto/ecto/branches{/branch}","tags_url":"https://api.github.com/repos/elixir-ecto/ecto/tags","blobs_url":"https://api.github.com/repos/elixir-ecto/ecto/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/elixir-ecto/ecto/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/elixir-ecto/ecto/git/refs{/sha}","trees_url":"https://api.github.com/repos/elixir-ecto/ecto/git/trees{/sha}","statuses_url":"https://api.github.com/repos/elixir-ecto/ecto/statuses/{sha}","languages_url":"https://api.github.com/repos/elixir-ecto/ecto/languages","stargazers_url":"https://api.github.com/repos/elixir-ecto/ecto/stargazers","contributors_url":"https://api.github.com/repos/elixir-ecto/ecto/contributors","subscribers_url":"https://api.github.com/repos/elixir-ecto/ecto/subscribers","subscription_url":"https://api.github.com/repos/elixir-ecto/ecto/subscription","commits_url":"https://api.github.com/repos/elixir-ecto/ecto/commits{/sha}","git_commits_url":"https://api.github.com/repos/elixir-ecto/ecto/git/commits{/sha}","comments_url":"https://api.github.com/repos/elixir-ecto/ecto/comments{/number}","issue_comment_url":"https://api.github.com/repos/elixir-ecto/ecto/issues/comments{/number}","contents_url":"https://api.github.com/repos/elixir-ecto/ecto/contents/{+path}","compare_url":"https://api.github.com/repos/elixir-ecto/ecto/compare/{base}...{head}","merges_url":"https://api.github.com/repos/elixir-ecto/ecto/merges","archive_url":"https://api.github.com/repos/elixir-ecto/ecto/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/elixir-ecto/ecto/downloads","issues_url":"https://api.github.com/repos/elixir-ecto/ecto/issues{/number}","pulls_url":"https://api.github.com/repos/elixir-ecto/ecto/pulls{/number}","milestones_url":"https://api.github.com/repos/elixir-ecto/ecto/milestones{/number}","notifications_url":"https://api.github.com/repos/elixir-ecto/ecto/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/elixir-ecto/ecto/labels{/name}","releases_url":"https://api.github.com/repos/elixir-ecto/ecto/releases{/id}","deployments_url":"https://api.github.com/repos/elixir-ecto/ecto/deployments","created_at":"2013-06-12T18:42:06Z","updated_at":"2018-02-23T14:18:15Z","pushed_at":"2018-02-23T11:52:18Z","git_url":"git://github.com/elixir-ecto/ecto.git","ssh_url":"git@github.com:elixir-ecto/ecto.git","clone_url":"https://github.com/elixir-ecto/ecto.git","svn_url":"https://github.com/elixir-ecto/ecto","homepage":"https://hexdocs.pm/ecto","size":10412,"stargazers_count":3300,"watchers_count":3300,"language":"Elixir","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":797,"mirror_url":null,"archived":false,"open_issues_count":22,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":797,"open_issues":22,"watchers":3300,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/elixir-ecto/ecto/pulls/2445"},"html":{"href":"https://github.com/elixir-ecto/ecto/pull/2445"},"issue":{"href":"https://api.github.com/repos/elixir-ecto/ecto/issues/2445"},"comments":{"href":"https://api.github.com/repos/elixir-ecto/ecto/issues/2445/comments"},"review_comments":{"href":"https://api.github.com/repos/elixir-ecto/ecto/pulls/2445/comments"},"review_comment":{"href":"https://api.github.com/repos/elixir-ecto/ecto/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/elixir-ecto/ecto/pulls/2445/commits"},"statuses":{"href":"https://api.github.com/repos/elixir-ecto/ecto/statuses/536bbbaa133c3afd5172ad557c258f63edd54681"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":22,"deletions":11,"changed_files":5}}
{"actor":{"display_login":"zoldar"}}