mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 01:12:56 +03:00
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:
parent
9f59e32240
commit
883ec85bfc
@ -89,7 +89,7 @@ Now that we know how to parametrise using query variables, let's use that:
|
||||
|
||||
```graphql
|
||||
# The parametrised GraphQL mutation
|
||||
mutation($todo: insert_todo_input!){
|
||||
mutation($todo: todos_insert_input!){
|
||||
insert_todos(objects: [$todo]) {
|
||||
returning {
|
||||
id
|
||||
|
Loading…
Reference in New Issue
Block a user