{"action":"opened","number":209,"pull_request":{"url":"https://api.github.com/repos/rmosolgo/graphql-ruby/pulls/209","id":81933307,"html_url":"https://github.com/rmosolgo/graphql-ruby/pull/209","diff_url":"https://github.com/rmosolgo/graphql-ruby/pull/209.diff","patch_url":"https://github.com/rmosolgo/graphql-ruby/pull/209.patch","issue_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/issues/209","number":209,"state":"open","locked":false,"title":"Allow interfaces to be compatible with objects that implement said interface","user":{"login":"kdaigle","id":2501,"avatar_url":"https://avatars.githubusercontent.com/u/2501?v=3","gravatar_id":"","url":"https://api.github.com/users/kdaigle","html_url":"https://github.com/kdaigle","followers_url":"https://api.github.com/users/kdaigle/followers","following_url":"https://api.github.com/users/kdaigle/following{/other_user}","gists_url":"https://api.github.com/users/kdaigle/gists{/gist_id}","starred_url":"https://api.github.com/users/kdaigle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kdaigle/subscriptions","organizations_url":"https://api.github.com/users/kdaigle/orgs","repos_url":"https://api.github.com/users/kdaigle/repos","events_url":"https://api.github.com/users/kdaigle/events{/privacy}","received_events_url":"https://api.github.com/users/kdaigle/received_events","type":"User","site_admin":true},"body":"In `0.18.2` (but it was working in `0.18.1`), it appears some functionality was implicitly broken. The new version seemingly broke the ability to have a query fragment on an interface. For example...\r\n\r\n```\r\n{\r\n  node(id:\"abc123\") {\r\n    ...repoInfo\r\n  }\r\n}\r\n\r\nfragment repoInfo on RepositoryInfo {\r\n  owner {\r\n    login\r\n  }\r\n}\r\n```\r\n\r\n... where `RepositoryInfo` is an Interface and the `node` returned is an Object that implements the `RepositoryInfo` interface.\r\n\r\nI'm not entirely confident I'm not breaking something here or if I'm breaking the letter of GraphQL. I just know the functionality changed. :smile: I put together 79431da and cf65366 to show a failing test case.","created_at":"2016-08-19T06:40:32Z","updated_at":"2016-08-19T06:40:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/pulls/209/commits","review_comments_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/pulls/209/comments","review_comment_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/issues/209/comments","statuses_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/statuses/f13f438d396b169c38306bce43766734f2bea3fc","head":{"label":"kdaigle:failing-test-for-typecast","ref":"failing-test-for-typecast","sha":"f13f438d396b169c38306bce43766734f2bea3fc","user":{"login":"kdaigle","id":2501,"avatar_url":"https://avatars.githubusercontent.com/u/2501?v=3","gravatar_id":"","url":"https://api.github.com/users/kdaigle","html_url":"https://github.com/kdaigle","followers_url":"https://api.github.com/users/kdaigle/followers","following_url":"https://api.github.com/users/kdaigle/following{/other_user}","gists_url":"https://api.github.com/users/kdaigle/gists{/gist_id}","starred_url":"https://api.github.com/users/kdaigle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kdaigle/subscriptions","organizations_url":"https://api.github.com/users/kdaigle/orgs","repos_url":"https://api.github.com/users/kdaigle/repos","events_url":"https://api.github.com/users/kdaigle/events{/privacy}","received_events_url":"https://api.github.com/users/kdaigle/received_events","type":"User","site_admin":true},"repo":{"id":66044012,"name":"graphql-ruby","full_name":"kdaigle/graphql-ruby","owner":{"login":"kdaigle","id":2501,"avatar_url":"https://avatars.githubusercontent.com/u/2501?v=3","gravatar_id":"","url":"https://api.github.com/users/kdaigle","html_url":"https://github.com/kdaigle","followers_url":"https://api.github.com/users/kdaigle/followers","following_url":"https://api.github.com/users/kdaigle/following{/other_user}","gists_url":"https://api.github.com/users/kdaigle/gists{/gist_id}","starred_url":"https://api.github.com/users/kdaigle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kdaigle/subscriptions","organizations_url":"https://api.github.com/users/kdaigle/orgs","repos_url":"https://api.github.com/users/kdaigle/repos","events_url":"https://api.github.com/users/kdaigle/events{/privacy}","received_events_url":"https://api.github.com/users/kdaigle/received_events","type":"User","site_admin":true},"private":false,"html_url":"https://github.com/kdaigle/graphql-ruby","description":"Ruby implementation of Facebook's GraphQL ","fork":true,"url":"https://api.github.com/repos/kdaigle/graphql-ruby","forks_url":"https://api.github.com/repos/kdaigle/graphql-ruby/forks","keys_url":"https://api.github.com/repos/kdaigle/graphql-ruby/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kdaigle/graphql-ruby/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kdaigle/graphql-ruby/teams","hooks_url":"https://api.github.com/repos/kdaigle/graphql-ruby/hooks","issue_events_url":"https://api.github.com/repos/kdaigle/graphql-ruby/issues/events{/number}","events_url":"https://api.github.com/repos/kdaigle/graphql-ruby/events","assignees_url":"https://api.github.com/repos/kdaigle/graphql-ruby/assignees{/user}","branches_url":"https://api.github.com/repos/kdaigle/graphql-ruby/branches{/branch}","tags_url":"https://api.github.com/repos/kdaigle/graphql-ruby/tags","blobs_url":"https://api.github.com/repos/kdaigle/graphql-ruby/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kdaigle/graphql-ruby/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kdaigle/graphql-ruby/git/refs{/sha}","trees_url":"https://api.github.com/repos/kdaigle/graphql-ruby/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kdaigle/graphql-ruby/statuses/{sha}","languages_url":"https://api.github.com/repos/kdaigle/graphql-ruby/languages","stargazers_url":"https://api.github.com/repos/kdaigle/graphql-ruby/stargazers","contributors_url":"https://api.github.com/repos/kdaigle/graphql-ruby/contributors","subscribers_url":"https://api.github.com/repos/kdaigle/graphql-ruby/subscribers","subscription_url":"https://api.github.com/repos/kdaigle/graphql-ruby/subscription","commits_url":"https://api.github.com/repos/kdaigle/graphql-ruby/commits{/sha}","git_commits_url":"https://api.github.com/repos/kdaigle/graphql-ruby/git/commits{/sha}","comments_url":"https://api.github.com/repos/kdaigle/graphql-ruby/comments{/number}","issue_comment_url":"https://api.github.com/repos/kdaigle/graphql-ruby/issues/comments{/number}","contents_url":"https://api.github.com/repos/kdaigle/graphql-ruby/contents/{+path}","compare_url":"https://api.github.com/repos/kdaigle/graphql-ruby/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kdaigle/graphql-ruby/merges","archive_url":"https://api.github.com/repos/kdaigle/graphql-ruby/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kdaigle/graphql-ruby/downloads","issues_url":"https://api.github.com/repos/kdaigle/graphql-ruby/issues{/number}","pulls_url":"https://api.github.com/repos/kdaigle/graphql-ruby/pulls{/number}","milestones_url":"https://api.github.com/repos/kdaigle/graphql-ruby/milestones{/number}","notifications_url":"https://api.github.com/repos/kdaigle/graphql-ruby/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kdaigle/graphql-ruby/labels{/name}","releases_url":"https://api.github.com/repos/kdaigle/graphql-ruby/releases{/id}","deployments_url":"https://api.github.com/repos/kdaigle/graphql-ruby/deployments","created_at":"2016-08-19T01:53:59Z","updated_at":"2016-08-19T01:54:00Z","pushed_at":"2016-08-19T06:21:21Z","git_url":"git://github.com/kdaigle/graphql-ruby.git","ssh_url":"git@github.com:kdaigle/graphql-ruby.git","clone_url":"https://github.com/kdaigle/graphql-ruby.git","svn_url":"https://github.com/kdaigle/graphql-ruby","homepage":"","size":1793,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":"rmosolgo:master","ref":"master","sha":"769ea499d757f105d651c1316abc6198d4a96096","user":{"login":"rmosolgo","id":2231765,"avatar_url":"https://avatars.githubusercontent.com/u/2231765?v=3","gravatar_id":"","url":"https://api.github.com/users/rmosolgo","html_url":"https://github.com/rmosolgo","followers_url":"https://api.github.com/users/rmosolgo/followers","following_url":"https://api.github.com/users/rmosolgo/following{/other_user}","gists_url":"https://api.github.com/users/rmosolgo/gists{/gist_id}","starred_url":"https://api.github.com/users/rmosolgo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmosolgo/subscriptions","organizations_url":"https://api.github.com/users/rmosolgo/orgs","repos_url":"https://api.github.com/users/rmosolgo/repos","events_url":"https://api.github.com/users/rmosolgo/events{/privacy}","received_events_url":"https://api.github.com/users/rmosolgo/received_events","type":"User","site_admin":false},"repo":{"id":30337170,"name":"graphql-ruby","full_name":"rmosolgo/graphql-ruby","owner":{"login":"rmosolgo","id":2231765,"avatar_url":"https://avatars.githubusercontent.com/u/2231765?v=3","gravatar_id":"","url":"https://api.github.com/users/rmosolgo","html_url":"https://github.com/rmosolgo","followers_url":"https://api.github.com/users/rmosolgo/followers","following_url":"https://api.github.com/users/rmosolgo/following{/other_user}","gists_url":"https://api.github.com/users/rmosolgo/gists{/gist_id}","starred_url":"https://api.github.com/users/rmosolgo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmosolgo/subscriptions","organizations_url":"https://api.github.com/users/rmosolgo/orgs","repos_url":"https://api.github.com/users/rmosolgo/repos","events_url":"https://api.github.com/users/rmosolgo/events{/privacy}","received_events_url":"https://api.github.com/users/rmosolgo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rmosolgo/graphql-ruby","description":"Ruby implementation of Facebook's GraphQL ","fork":false,"url":"https://api.github.com/repos/rmosolgo/graphql-ruby","forks_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/forks","keys_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/teams","hooks_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/hooks","issue_events_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/issues/events{/number}","events_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/events","assignees_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/assignees{/user}","branches_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/branches{/branch}","tags_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/tags","blobs_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/git/refs{/sha}","trees_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/statuses/{sha}","languages_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/languages","stargazers_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/stargazers","contributors_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/contributors","subscribers_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/subscribers","subscription_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/subscription","commits_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/commits{/sha}","git_commits_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/git/commits{/sha}","comments_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/comments{/number}","issue_comment_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/issues/comments{/number}","contents_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/contents/{+path}","compare_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/merges","archive_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/downloads","issues_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/issues{/number}","pulls_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/pulls{/number}","milestones_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/milestones{/number}","notifications_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/labels{/name}","releases_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/releases{/id}","deployments_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/deployments","created_at":"2015-02-05T04:11:22Z","updated_at":"2016-08-18T08:16:56Z","pushed_at":"2016-08-18T23:33:54Z","git_url":"git://github.com/rmosolgo/graphql-ruby.git","ssh_url":"git@github.com:rmosolgo/graphql-ruby.git","clone_url":"https://github.com/rmosolgo/graphql-ruby.git","svn_url":"https://github.com/rmosolgo/graphql-ruby","homepage":"","size":1793,"stargazers_count":778,"watchers_count":778,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":70,"mirror_url":null,"open_issues_count":16,"forks":70,"open_issues":16,"watchers":778,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rmosolgo/graphql-ruby/pulls/209"},"html":{"href":"https://github.com/rmosolgo/graphql-ruby/pull/209"},"issue":{"href":"https://api.github.com/repos/rmosolgo/graphql-ruby/issues/209"},"comments":{"href":"https://api.github.com/repos/rmosolgo/graphql-ruby/issues/209/comments"},"review_comments":{"href":"https://api.github.com/repos/rmosolgo/graphql-ruby/pulls/209/comments"},"review_comment":{"href":"https://api.github.com/repos/rmosolgo/graphql-ruby/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rmosolgo/graphql-ruby/pulls/209/commits"},"statuses":{"href":"https://api.github.com/repos/rmosolgo/graphql-ruby/statuses/f13f438d396b169c38306bce43766734f2bea3fc"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":4,"additions":43,"deletions":7,"changed_files":2}}
{"actor":{"display_login":"kdaigle"}}