Skip to content

Commit

Permalink
Added note for mutation conventions and removed erros (ChilliCream#4523)
Browse files Browse the repository at this point in the history
  • Loading branch information
PascalSenn authored Dec 6, 2021
1 parent a3de6a7 commit 9be1421
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 0 additions & 4 deletions website/src/docs/docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,6 @@
{
"path": "relay",
"title": "Relay"
},
{
"path": "errors",
"title": "Errors"
}
]
},
Expand Down
2 changes: 2 additions & 0 deletions website/src/docs/hotchocolate/defining-a-schema/mutations.md
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,8 @@ services

# Conventions

> ⚠️ Experimental Warning: This feature is not yet finished and only available in previews. The API is not finalized and will change until its release.
In GraphQL, it is best practice to have a single argument on mutations called `input`, and each mutation should return a payload object.

```graphql
Expand Down

0 comments on commit 9be1421

Please sign in to comment.