Commit Graph

11 Commits

Author SHA1 Message Date
Cyril Brulebois
9ff209d1f3 doc: remove executable flag for md, mdx, png, js, and .gitignore files (#3015)
Spotted by lintian running against a Debian package: the executable flag
is strange for all those files in the doc directory.
2022-10-16 16:47:56 +03:00
Dan Kortschak
e02622a064 docs: various fixes to the graphql tutorial (#2965)
* doc/md: fix resolver diff and isolation example

* doc/md: fix updateTodo input field

* doc/md: add missing extension and fix paths

Without entgql.WithSchemaGenerator entc.go fails to run.

* doc/md: add file titles

Note that the where:TodoWhereInput parameter is pre-filled in the
generated ent.graphql file.

* doc/md: add context to conjunction/negation example

Only add for the first example to provide a lead to readers.
2022-09-27 10:02:16 +03:00
yuki2006
16f978298f doc/md: fix broken links to "GraphQL example" (#2959) 2022-09-26 12:21:50 +03:00
Ariel Mashraki
82ee525676 doc/tutorial: update entgql + gqlgen integration (#2915) 2022-09-08 17:56:11 +03:00
Ariel Mashraki
fd955654a0 entc/gen: change codegen signature from entc to ent (#2627) 2022-06-07 17:48:17 +03:00
Ariel Mashraki
cb7e0c1f1b doc/tutorial: add title with file names to code blocks (#2430) 2022-03-26 18:49:04 +03:00
Jeffrey Stiles
a98798ebbc doc/tutorial: update todo-gql-mutation-input example (#2063)
* Update tutorial-todo-gql-mutation-input.md

Make example code match latest changes to https://github.com/a8m/ent-graphql-example:

- Renaming fields that accept IDs on mutation_inputs (including https://github.com/a8m/ent-graphql-example/pull/5)
- Removing duplicate fields when edge fields are used (https://github.com/a8m/ent-graphql-example/pull/3)

* Update tutorial-todo-gql-mutation-input.md

Add back the accidental removal of `$input` variable declaration.
2021-10-27 08:18:06 +03:00
Ariel Mashraki
e1e197483c doc/tutorial: add page about filter inputs (#1706)
* doc/tutorial: add page about filter inputs

Also, fixed some issues in website configuration

* Update doc/md/tutorial-todo-gql-filter-input.md

Co-authored-by: Rotem Tamir <rotemtamir@gmail.com>

Co-authored-by: Rotem Tamir <rotemtamir@gmail.com>
2021-07-11 16:08:26 +03:00
Ariel Mashraki
095ef5b4e6 doc/graphql: change mutation-input example to extension 2021-07-10 22:01:16 +03:00
Giau. Tran Minh
26b8f3b6b2 doc/md: update tutorial-todo-gql-mutation-input.md (#1477) 2021-04-19 14:02:24 +03:00
Ariel Mashraki
1ea5d64607 doc/md: add tutorial on how to generate mutation input types (#1476)
* doc/md: add tutorial on how to generate mutation input types

* address codereview comments
2021-04-19 12:29:16 +03:00