{"action":"created","issue":{"url":"https://api.github.com/repos/rmosolgo/graphql-ruby/issues/451","repository_url":"https://api.github.com/repos/rmosolgo/graphql-ruby","labels_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/issues/451/labels{/name}","comments_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/issues/451/comments","events_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/issues/451/events","html_url":"https://github.com/rmosolgo/graphql-ruby/pull/451","id":194516301,"number":451,"title":"Add Connection.nodes shorthand","user":{"login":"josh","id":137,"avatar_url":"https://avatars.githubusercontent.com/u/137?v=3","gravatar_id":"","url":"https://api.github.com/users/josh","html_url":"https://github.com/josh","followers_url":"https://api.github.com/users/josh/followers","following_url":"https://api.github.com/users/josh/following{/other_user}","gists_url":"https://api.github.com/users/josh/gists{/gist_id}","starred_url":"https://api.github.com/users/josh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josh/subscriptions","organizations_url":"https://api.github.com/users/josh/orgs","repos_url":"https://api.github.com/users/josh/repos","events_url":"https://api.github.com/users/josh/events{/privacy}","received_events_url":"https://api.github.com/users/josh/received_events","type":"User","site_admin":true},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-09T05:19:07Z","updated_at":"2016-12-09T14:45:13Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rmosolgo/graphql-ruby/pulls/451","html_url":"https://github.com/rmosolgo/graphql-ruby/pull/451","diff_url":"https://github.com/rmosolgo/graphql-ruby/pull/451.diff","patch_url":"https://github.com/rmosolgo/graphql-ruby/pull/451.patch"},"body":"While the `Connection`/`Edge`/`Node` model provides a useful place to attach join model annotations, most of @github's usage has just been enumerating a connection's node list. Cursor data is simply accessed via `PageInfo.endCursor`.\r\n\r\nThis change adds and additional `Connection.nodes` as a shortcut for accessing `Connection->edges->node`.\r\n\r\nI understand this isn't part of the Relay spec specifically, so maybe it could be opt-in if you think its  necessary?\r\n\r\nI'm hoping I'm remember this right, but I believe @dschafer (@facebook) mentioned this alias to me at a GraphQL conference/meetup thing."},"comment":{"url":"https://api.github.com/repos/rmosolgo/graphql-ruby/issues/comments/266030078","html_url":"https://github.com/rmosolgo/graphql-ruby/pull/451#issuecomment-266030078","issue_url":"https://api.github.com/repos/rmosolgo/graphql-ruby/issues/451","id":266030078,"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},"created_at":"2016-12-09T14:45:13Z","updated_at":"2016-12-09T14:45:13Z","body":"Yeah, I think opt-in is a good choice, that way people who track changes via a schema printout don't get a bunch of noise when they update. Maybe in a later version, we can make this the default behavior and allow people to opt _out_."}}
{"actor":{"display_login":"rmosolgo"}}