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
{{ message }}
Repository navigation
Commit 361c572
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: README.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,7 +36,7 @@ to checkout the appropriate tag when looking for the version documented here.
36
36
-[Executing](#executing)
37
37
-[Execution strategies](#execution-strategies)
38
38
-[Logging](#logging)
39
-
-[Relay Support](#relay-support)
39
+
-[Relay and Apollo Support](#relay-and-apollo-support)
40
40
-[Contributions](#contributions)
41
41
-[Build it](#build-it)
42
42
-[Development Build](#development-build)
@@ -391,12 +391,12 @@ Logging is done with [SLF4J](http://www.slf4j.org/). Please have a look at the [
391
391
The `grapqhl-java` root Logger name is `graphql`.
392
392
393
393
394
-
#### Relay Support
394
+
#### Relay and Apollo Support
395
395
396
-
There is a very basic Relay support included. Please look at https://github.com/andimarek/todomvc-relay-java for an example
396
+
There is a very basic support for [Relay](https://github.com/facebook/relay) and [Apollo](https://github.com/apollographql/apollo-client) included. Apollo will work with any schema, but Relay requires that your schema follows the Relay specification. Please look at https://github.com/andimarek/todomvc-relay-java for an example
397
397
project how to use it.
398
398
399
-
Relay sends queries to the GraphQL server as JSON containing a `query` field and a `variables` field. The `query` field is a JSON string,
399
+
Relay and Apollo send queries to the GraphQL server as JSON containing a `query` field and a `variables` field. The `query` field is a JSON string,
400
400
and the `variables` field is a map of variable definitions. A relay-compatible server will need to parse this JSON and pass the `query`
401
401
string to this library as the query and the `variables` map as the third argument to `execute` as shown below. This is the implementation
402
402
from the [todomvc-relay-java](https://github.com/graphql-java/todomvc-relay-java) example.
0 commit comments