Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit bd80e06

Browse files
authored
doc: fix file name for required change (#2961)
1 parent e93e96e commit bd80e06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/md/tutorial-todo-gql-field-collection.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ and for the node(s) API.
7373
For the purpose of the example, we **disable the automatic field collection**, change the `ent.Client` to run in
7474
debug mode in the `Todos` resolver, and restart our GraphQL server:
7575

76-
```diff title="todo.resolvers.go"
76+
```diff title="ent.resolvers.go"
7777
func (r *queryResolver) Todos(ctx context.Context, after *ent.Cursor, first *int, before *ent.Cursor, last *int, orderBy *ent.TodoOrder) (*ent.TodoConnection, error) {
7878
- return r.client.Todo.Query().
7979
+ return r.client.Debug().Todo.Query().

0 commit comments

Comments
 (0)