File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
src/test/groovy/com/coxautodev/graphql/tools Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,9 @@ class RelayConnectionSpec extends Specification {
2929 id: ID!
3030 name: String
3131 }
32+
33+ type PageInfo {
34+ }
3235 ''' )
3336 .resolvers(new QueryResolver ())
3437 .dictionary(User . class)
@@ -40,8 +43,8 @@ class RelayConnectionSpec extends Specification {
4043 }
4144
4245 static class QueryResolver implements GraphQLQueryResolver {
43- DefaultConnection <User > users (int first , String after , DataFetchingEnvironment env ) {
44- new SimpleListConnection<User > (new ArrayList ()). get(env) as DefaultConnection< User >
46+ Connection <User > users (int first , String after , DataFetchingEnvironment env ) {
47+ new SimpleListConnection<User > (new ArrayList ()). get(env)
4548 }
4649 }
4750
You can’t perform that action at this time.
0 commit comments