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:
Giau. Tran Minh
2022-05-09 22:09:21 +07:00
committed by GitHub
parent 63a2836ef2
commit d8fdf3b512
6 changed files with 305 additions and 6 deletions

View File

@@ -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.