Skip to content

Commit 549519c

Browse files
authored
Merge pull request graphql#266 from mehdivk/mutations-fix
Fixed typo in introductionary paragraph
2 parents ac8621a + 39cc8bf commit 549519c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

site/graphql-js/Tutorial-Mutations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ permalink: /graphql-js/mutations-and-input-types/
66
next: /graphql-js/authentication-and-express-middleware/
77
---
88

9-
If you have an API endpoint that alters data, like inserting data into a database or altering data already in a database, you should make this endpoint a `Mutation` rather than a `Query`. This is a simple as making the API endpoint part of the top-level `Mutation` type instead of the top-level `Query` type.
9+
If you have an API endpoint that alters data, like inserting data into a database or altering data already in a database, you should make this endpoint a `Mutation` rather than a `Query`. This is as simple as making the API endpoint part of the top-level `Mutation` type instead of the top-level `Query` type.
1010

1111
Let's say we have a “message of the day” server, where anyone can update the message of the day, and anyone can read the current one. The GraphQL schema for this is simply:
1212

0 commit comments

Comments
 (0)