Skip to content

Commit 361c572

Browse files
authored
Clarify supported clients in README.md
- Clarify that in addition to Relay Apollo is also supported. - Add hyperlinks to Relay and Apollo
1 parent cbc75cd commit 361c572

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

‎README.md‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ to checkout the appropriate tag when looking for the version documented here.
3636
- [Executing](#executing)
3737
- [Execution strategies](#execution-strategies)
3838
- [Logging](#logging)
39-
- [Relay Support](#relay-support)
39+
- [Relay and Apollo Support](#relay-and-apollo-support)
4040
- [Contributions](#contributions)
4141
- [Build it](#build-it)
4242
- [Development Build](#development-build)
@@ -391,12 +391,12 @@ Logging is done with [SLF4J](http://www.slf4j.org/). Please have a look at the [
391391
The `grapqhl-java` root Logger name is `graphql`.
392392
393393
394-
#### Relay Support
394+
#### Relay and Apollo Support
395395
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
397397
project how to use it.
398398
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,
400400
and the `variables` field is a map of variable definitions. A relay-compatible server will need to parse this JSON and pass the `query`
401401
string to this library as the query and the `variables` map as the third argument to `execute` as shown below. This is the implementation
402402
from the [todomvc-relay-java](https://github.com/graphql-java/todomvc-relay-java) example.

0 commit comments

Comments
 (0)