correct argument type for insert_todos mutation (#2902)

C.f. the schema documentation for mutation_root > insert_todos in the [Try it out in GraphiQL](https://learn.hasura.io/graphql/graphiql) environment.
This commit is contained in:
Joshua Yoerger 2019-09-18 03:01:46 -07:00 committed by Shahidh K Muhammed
parent 9f59e32240
commit 883ec85bfc

View File

@ -89,7 +89,7 @@ Now that we know how to parametrise using query variables, let's use that:
```graphql ```graphql
# The parametrised GraphQL mutation # The parametrised GraphQL mutation
mutation($todo: insert_todo_input!){ mutation($todo: todos_insert_input!){
insert_todos(objects: [$todo]) { insert_todos(objects: [$todo]) {
returning { returning {
id id