{"action":"closed","issue":{"url":"https://api.github.com/repos/99designs/gqlgen/issues/230","repository_url":"https://api.github.com/repos/99designs/gqlgen","labels_url":"https://api.github.com/repos/99designs/gqlgen/issues/230/labels{/name}","comments_url":"https://api.github.com/repos/99designs/gqlgen/issues/230/comments","events_url":"https://api.github.com/repos/99designs/gqlgen/issues/230/events","html_url":"https://github.com/99designs/gqlgen/issues/230","id":345112073,"node_id":"MDU6SXNzdWUzNDUxMTIwNzM=","number":230,"title":"microBug at connections example","user":{"login":"jekaspekas","id":8606056,"node_id":"MDQ6VXNlcjg2MDYwNTY=","avatar_url":"https://avatars1.githubusercontent.com/u/8606056?v=4","gravatar_id":"","url":"https://api.github.com/users/jekaspekas","html_url":"https://github.com/jekaspekas","followers_url":"https://api.github.com/users/jekaspekas/followers","following_url":"https://api.github.com/users/jekaspekas/following{/other_user}","gists_url":"https://api.github.com/users/jekaspekas/gists{/gist_id}","starred_url":"https://api.github.com/users/jekaspekas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jekaspekas/subscriptions","organizations_url":"https://api.github.com/users/jekaspekas/orgs","repos_url":"https://api.github.com/users/jekaspekas/repos","events_url":"https://api.github.com/users/jekaspekas/events{/privacy}","received_events_url":"https://api.github.com/users/jekaspekas/received_events","type":"User","site_admin":false},"labels":[{"id":833775400,"node_id":"MDU6TGFiZWw4MzM3NzU0MDA=","url":"https://api.github.com/repos/99designs/gqlgen/labels/bug","name":"bug","color":"d73a4a","default":true},{"id":833775408,"node_id":"MDU6TGFiZWw4MzM3NzU0MDg=","url":"https://api.github.com/repos/99designs/gqlgen/labels/good%20first%20issue","name":"good first issue","color":"7057ff","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-27T06:56:14Z","updated_at":"2018-08-21T07:36:07Z","closed_at":"2018-08-21T07:36:07Z","author_association":"NONE","body":"### Expected Behaviour\r\nWhen using the \"after\" argument at friendsConnection query, the result list should be shifted.\r\n\r\n### Actual Behavior\r\nThe cursor values are shifted, but the result list always starts with the first value.\r\n\r\n### Minimal graphql.schema and models to reproduce\r\ngqlgen/example/starwars/resolvers.go:\r\n```go\r\nfunc (r *Resolver) FriendsConnection_edges(ctx context.Context, it *FriendsConnection) ([]FriendsEdge, error) {\r\n\tfriends, err := r.resolveCharacters(ctx, it.ids)\r\n\tif err != nil {\r\n\t\treturn nil, err\r\n\t}\r\n\r\n\tedges := make([]FriendsEdge, it.to-it.from)\r\n\tfor i := range edges {\r\n\t\tedges[i] = FriendsEdge{\r\n\t\t\tCursor: encodeCursor(it.from + i),\r\n\t\t\tNode:   friends[it.from + i],\r\n\t\t}\r\n\t}\r\n\treturn edges, nil\r\n}\r\n`"}}
{"actor":{"display_login":"vektah"}}