mirror of
https://github.com/ent/ent.git
synced 2026-04-28 21:50:56 +03:00
doc/md: simplify graphql mutation usage (#2464)
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user