Files
ent/doc/website/sidebars.js
Giau. Tran Minh d8fdf3b512 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>
2022-05-09 18:09:21 +03:00

113 lines
2.3 KiB
JavaScript
Executable File

module.exports = {
md: [
{
type: 'category',
label: 'Getting Started',
items: [
'getting-started',
],
collapsed: false,
},
{
type: 'category',
label: 'Schema',
items: [
'schema-def',
'schema-fields',
'schema-edges',
'schema-indexes',
'schema-mixin',
'schema-annotations',
],
collapsed: false,
},
{
type: 'category',
label: 'Code Generation',
items: [
'code-gen',
'crud',
'traversals',
'eager-load',
'hooks',
'privacy',
'transactions',
'predicates',
'aggregate',
'paging',
],
collapsed: false,
},
{
type: 'category',
label: 'Migration',
items: [
'migrate',
'dialects',
'versioned-migrations',
],
collapsed: false,
},
{
type: 'category',
label: 'Misc',
items: [
'templates',
'extensions',
'graphql',
'sql-integration',
'testing',
'faq',
'generating-ent-schemas',
'feature-flags',
'translations',
'contributors',
'writing-docs',
'slack'
],
collapsed: false,
},
],
tutorial: [
{
type: 'category',
label: 'First Steps',
items: [
'tutorial-setup',
'tutorial-todo-crud',
],
collapsed: false,
},
{
type: 'category',
label: 'GraphQL Basics',
items: [
'tutorial-todo-gql',
'tutorial-todo-gql-node',
'tutorial-todo-gql-paginate',
'tutorial-todo-gql-field-collection',
'tutorial-todo-gql-tx-mutation',
'tutorial-todo-gql-mutation-input',
'tutorial-todo-gql-filter-input',
'tutorial-todo-gql-schema-generator',
],
collapsed: false,
},
{
type: 'category',
collapsed: false,
label: 'gRPC',
items: [
'grpc-intro',
'grpc-setting-up',
'grpc-generating-proto',
'grpc-generating-a-service',
'grpc-server-and-client',
'grpc-edges',
'grpc-optional-fields',
'grpc-service-generation-options',
]
}
]
}