mirror of
https://github.com/ent/ent.git
synced 2026-04-28 13:40:56 +03:00
doc/md: add tutorial on how to generate mutation input types (#1476)
* doc/md: add tutorial on how to generate mutation input types * address codereview comments
This commit is contained in:
@@ -49,3 +49,9 @@ func (mutationResolver) CreateTodo(ctx context.Context, todo TodoInput) (*ent.To
|
||||
Save(ctx)
|
||||
}
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
Great! With a few lines of code, our application now supports automatic transactional mutations. Please continue to the
|
||||
next section where we explain how to extend the Ent code generator and generate [GraphQL input types](https://graphql.org/graphql-js/mutations-and-input-types/)
|
||||
for our GraphQL mutations.
|
||||
Reference in New Issue
Block a user