Skip to content

Commit 2d87adc

Browse files
committed
Data type is wrapped with GraphQLList
1 parent 88161f5 commit 2d87adc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/graphql/annotations/connection/simple/SimpleRelay.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public GraphQLObjectType edgeType(String name, GraphQLOutputType nodeType, Graph
2929
.field(newFieldDefinition()
3030
.name("data")
3131
.description("The data itself")
32-
.type(nodeType))
32+
.type(new GraphQLList(nodeType)))
3333
.build();
3434
}
3535

0 commit comments

Comments
 (0)