mirror of
https://github.com/ent/ent.git
synced 2026-04-28 13:40:56 +03:00
doc/md: update GQL tutorial with schema generator (#2528)
* doc/md: update GQL tutorial fixed the connections to Non-Null fixed the name of WithWhereInputs() * doc/md: initial Schema Generator tutorial * update the tutorial * fix: correct the line * doc/md: apply suggestions from code review Co-authored-by: Hila Kashai <73284641+hilakashai@users.noreply.github.com> Co-authored-by: Ariel Mashraki <7413593+a8m@users.noreply.github.com> * doc/md: add more doc about `entgql.RelayConnection()` Co-authored-by: Hila Kashai <73284641+hilakashai@users.noreply.github.com> Co-authored-by: Ariel Mashraki <7413593+a8m@users.noreply.github.com>
This commit is contained in:
@@ -146,7 +146,7 @@ type Query {
|
||||
before: Cursor
|
||||
last: Int
|
||||
orderBy: TodoOrder
|
||||
): TodoConnection
|
||||
): TodoConnection!
|
||||
}
|
||||
```
|
||||
That's all for the GraphQL schema changes, let's run `gqlgen` code generation.
|
||||
|
||||
Reference in New Issue
Block a user