Skip to content

Commit

Permalink
Update docs/tutorials/graphql.mdx
Browse files Browse the repository at this point in the history
Co-authored-by: Marcus Kohlberg <[email protected]>
  • Loading branch information
simon-johansson and marcuskohlberg authored Sep 26, 2024
1 parent 4405faa commit 0eed5ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/tutorials/graphql.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -622,7 +622,7 @@ export const graphqlAPI = api.raw(

This creates an [Raw API endpoint](https://encore.dev/docs/ts/primitives/raw-endpoints) available on `/graphql`. In the endpoint we use ApolloServer to handle the GraphQL queries and mutations. We then return the response to the client.

If we were to use another GraphQL library then Apollo the concept still would be the same:
If we were to use another GraphQL library other than Apollo, the concept would still be the same:
1. Take client requests with a Raw endpoint.
2. Pass along the request and response objects to the GraphQL library of your choice.
3. Use the library to handle the GraphQL queries and mutations.
Expand Down

0 comments on commit 0eed5ee

Please sign in to comment.