doc/md: update tutorial-todo-gql-mutation-input.md (#1477)

This commit is contained in:
Giau. Tran Minh
2021-04-19 18:02:24 +07:00
committed by GitHub
parent 1ea5d64607
commit 26b8f3b6b2

View File

@@ -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!) {
}
}
}
```
```