mirror of
https://github.com/ent/ent.git
synced 2026-04-28 05:30:56 +03:00
doc/md: update tutorial-todo-gql-mutation-input.md (#1477)
This commit is contained in:
@@ -51,7 +51,7 @@ GraphQL mutations, and add additional methods on the different builders to accep
|
||||
{{- range $f := $n.MutableFields }}
|
||||
{{ $f.StructField }} {{ if not $f.Type.RType.IsPtr }}*{{ end }}{{ $f.Type }}
|
||||
{{- if $f.Optional }}
|
||||
{{ "Clear" $f.StructField }} bool
|
||||
{{ print "Clear" $f.StructField }} bool
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- range $e := $n.Edges }}
|
||||
@@ -426,4 +426,4 @@ mutation UpdateTodo($id: ID!, $input: UpdateTodoInput!) {
|
||||
}
|
||||
}
|
||||
}
|
||||
```
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user