You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -229,7 +229,11 @@ Relay [specification for mutations](https://facebook.github.io/relay/graphql/mut
229
229
230
230
### Connection
231
231
232
-
You can use `@GraphQLConnection` annotation to make a field iterable in adherence to Relay [Connection specification](https://facebook.github.io/relay/graphql/connections.htm).
232
+
You can use `@GraphQLConnection` annotation to make a field iterable in adherence to Relay [Connection specification](https://facebook.github.io/relay/graphql/connections.htm).\
233
+
The default connection makes you fetch ALL the data, and then builds the connections object (ie edges and nodes).\
234
+
If you want to fetch only the relevant data each time (with the "first","last","before" and "after" arguments)
235
+
you should annotate you field with `@GraphQLConnection(connection = EnhancedConnectionFetcher.class)`,
236
+
and make the associated data fetcher implements `PaginationDataFetcher`
0 commit comments