Update graphql.md (#2014)

This commit is contained in:
Tyler Caceres 2023-06-23 06:56:53 -04:00 committed by GitHub
parent 726e5c04b2
commit 76e9d99fb9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -218,7 +218,7 @@ See: [sogko/graphql-shorthand-notation-cheat-sheet](https://raw.githubuserconten
```js
type Mutation {
users(params: ListUsersInput) [User]!
users(params: ListUsersInput): [User]!
}
```
@ -258,7 +258,7 @@ type Album { ··· }
union Result = Artist | Album
type Query {
search(q: String) [Result]
search(q: String): [Result]
}
```
{: data-line="4"}