{"action":"created","issue":{"url":"https://api.github.com/repos/graphql-dotnet/graphql-dotnet/issues/188","repository_url":"https://api.github.com/repos/graphql-dotnet/graphql-dotnet","labels_url":"https://api.github.com/repos/graphql-dotnet/graphql-dotnet/issues/188/labels{/name}","comments_url":"https://api.github.com/repos/graphql-dotnet/graphql-dotnet/issues/188/comments","events_url":"https://api.github.com/repos/graphql-dotnet/graphql-dotnet/issues/188/events","html_url":"https://github.com/graphql-dotnet/graphql-dotnet/issues/188","id":181436352,"number":188,"title":"Connections and Edges should be able to contain interfaces and unions","user":{"login":"rwg0","id":2329838,"avatar_url":"https://avatars.githubusercontent.com/u/2329838?v=3","gravatar_id":"","url":"https://api.github.com/users/rwg0","html_url":"https://github.com/rwg0","followers_url":"https://api.github.com/users/rwg0/followers","following_url":"https://api.github.com/users/rwg0/following{/other_user}","gists_url":"https://api.github.com/users/rwg0/gists{/gist_id}","starred_url":"https://api.github.com/users/rwg0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rwg0/subscriptions","organizations_url":"https://api.github.com/users/rwg0/orgs","repos_url":"https://api.github.com/users/rwg0/repos","events_url":"https://api.github.com/users/rwg0/events{/privacy}","received_events_url":"https://api.github.com/users/rwg0/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/graphql-dotnet/graphql-dotnet/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-10-06T14:48:33Z","updated_at":"2016-10-07T17:28:35Z","closed_at":"2016-10-06T18:18:57Z","body":"The relay spec states that edges may contain scalars, enums, objects, interfaces, unions and non-null wrappers of those types (https://facebook.github.io/relay/graphql/connections.htm#sec-Node). However the `EdgeType`, `ConnectionType` and `ConnectionBuilder` classes are restricted to accepting types derived from `IObjectGraphType` which means only objects can be used for a connection.\r\n\r\nIt looks like the `where` clause for each of those generics should be `where IGraphType` instead of `where IObjectGraphType`, but I'm not sure if this will introduce problems elsewhere."},"comment":{"url":"https://api.github.com/repos/graphql-dotnet/graphql-dotnet/issues/comments/252312355","html_url":"https://github.com/graphql-dotnet/graphql-dotnet/issues/188#issuecomment-252312355","issue_url":"https://api.github.com/repos/graphql-dotnet/graphql-dotnet/issues/188","id":252312355,"user":{"login":"joemcbride","id":255007,"avatar_url":"https://avatars.githubusercontent.com/u/255007?v=3","gravatar_id":"","url":"https://api.github.com/users/joemcbride","html_url":"https://github.com/joemcbride","followers_url":"https://api.github.com/users/joemcbride/followers","following_url":"https://api.github.com/users/joemcbride/following{/other_user}","gists_url":"https://api.github.com/users/joemcbride/gists{/gist_id}","starred_url":"https://api.github.com/users/joemcbride/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joemcbride/subscriptions","organizations_url":"https://api.github.com/users/joemcbride/orgs","repos_url":"https://api.github.com/users/joemcbride/repos","events_url":"https://api.github.com/users/joemcbride/events{/privacy}","received_events_url":"https://api.github.com/users/joemcbride/received_events","type":"User","site_admin":false},"created_at":"2016-10-07T17:28:35Z","updated_at":"2016-10-07T17:28:35Z","body":"0.12.2 should fix that"}}
{"actor":{"display_login":"joemcbride"}}