Very basic support for Relay is included.
Note: Relay refers here to “Relay Classic”, there is no support for “Relay Modern”.
Please look at https://github.com/graphql-java/todomvc-relay-java for a full example project,
Relay send queries to the GraphQL server as JSON containing a
query field and a
variables field. The
query field is a JSON string,
variables field is a map of variable definitions. A relay-compatible server will need to parse this JSON and pass the
string to this library as the query and the
variables map as the third argument to
execute as shown below.
There is no special support for
Apollo <https://github.com/apollographql/apollo-client>_ included: Apollo works with any schema.
The Controller example shown above works with Apollo too.