Update graphql.md (#2014)
This commit is contained in:
parent
726e5c04b2
commit
76e9d99fb9
|
@ -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"}
|
||||
|
|
Loading…
Reference in New Issue