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
You can also specify custom type function for any field with `@GraphQLType` annotation.
222
222
223
-
## Relay Mutations
223
+
## Relay support
224
+
225
+
### Mutations
224
226
225
227
You can use `@GraphQLRelayMutation` annotation to make mutation adhere to
226
228
Relay [specification for mutations](https://facebook.github.io/relay/graphql/mutations.htm)
227
229
228
-
##Relay Connection
230
+
###Connection
229
231
230
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
+
234
+
### Customizing Relay schema
235
+
236
+
By default, GraphQLAnnotations will use the `graphql.relay.Relay` class to create the Relay specific schema types (Mutations, Connections, Edges, PageInfo, ...).
237
+
It is possible to set a custom implementation of the Relay class with `GraphQLAnnotations.setRelay` method. The class should inherit from `graphql.relay.Relay` and
0 commit comments