Skip to content

Commit

Permalink
Merge pull request #1 from adamosimpson21/adamosimpson21-graphiql-link
Browse files Browse the repository at this point in the history
Adding link to GraphiQL in Object Types tutorial
  • Loading branch information
adamosimpson21 committed Apr 23, 2024
2 parents 6529c51 + 03cfc8e commit 51f3802
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/graphql-js/object-types.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ When you issue a GraphQL query against an API that returns object types, you can
}
```

If you run this code with `node server.js` and browse to http://localhost:4000/graphql you can try out these APIs with GraphiQL.
If you run this code with `node server.js` and browse to http://localhost:4000/graphql you can try out these APIs with [GraphiQL](https://github.com/graphql/graphiql/tree/main).

This way of defining object types often provides advantages over a traditional REST API. Instead of doing one API request to get basic information about an object, and then multiple subsequent API requests to find out more information about that object, you can get all of that information in one API request. That saves bandwidth, makes your app run faster, and simplifies your client-side logic.

Expand Down

0 comments on commit 51f3802

Please sign in to comment.