Skip to content

Commit 29ec1bc

Browse files
committed
Fixes relay shortcut property
1 parent f64ba86 commit 29ec1bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/schema/connections.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ for example.`,
4545
},
4646
[prop]: {
4747
type: new GraphQLList(type),
48-
resolve: conn => getObjectsFromUrls(conn.edges.map(edge => edge.node)),
48+
resolve: conn => conn.edges.map(edge => edge.node),
4949
description: `A list of all of the objects returned in the connection. This is a convenience
5050
field provided for quickly exploring the API; rather than querying for
5151
"{ edges { node } }" when no edge data is needed, this field can be be used

0 commit comments

Comments
 (0)