doc/md: simplify graphql mutation usage (#2464)

This commit is contained in:
dorlib
2022-04-09 20:59:55 +03:00
committed by GitHub
parent 6e4e4da896
commit 3683de1d36
2 changed files with 4 additions and 6 deletions

View File

@@ -88,8 +88,8 @@ func (Todo) Fields() []ent.Field {
## Define Types In GraphQL Schema
Next, we need to define the ordering types along with the [Relay Connection Types](https://relay.dev/graphql/connections.htm#sec-Connection-Types)
in the GraphQL schema:
Next, we need to add the ordering types along with the [Relay Connection Types](https://relay.dev/graphql/connections.htm#sec-Connection-Types)
to the GraphQL schema:
```graphql title="todo.graphql"
# Define a Relay Cursor type: