Commit Graph

494 Commits

Author SHA1 Message Date
Ariel Mashraki
c868f4a174 doc: add entsql.WithComments annotation (#3192) 2022-12-26 16:56:49 +02:00
Dany Henriquez
038cc0cace Fix documentation (Remove deprecated call) (#3181) 2022-12-22 12:21:26 +02:00
Ariel Mashraki
33478c5fca examples/jsonencode: skip nodes without edges in template (#3187) 2022-12-21 15:43:51 +02:00
Ariel Mashraki
92bacc10e4 entc/gen: add typed traversers and interceptors (#3182) 2022-12-20 11:12:19 +02:00
Yoni Davidson
4e662b9e51 doc/md: update join community page (#3178) 2022-12-19 15:18:53 +02:00
Giau. Tran Minh
2d01111f48 doc/md: create edges with mutation (#3170)
* doc/md: create edges with mutation

Signed-off-by: Giau. Tran Minh <hello@giautm.dev>

* fix: move new content to the end

Signed-off-by: Giau. Tran Minh <hello@giautm.dev>

* chore: apply suggestions from code review

Co-authored-by: Hila Kashai <73284641+hilakashai@users.noreply.github.com>

Signed-off-by: Giau. Tran Minh <hello@giautm.dev>
Co-authored-by: Hila Kashai <73284641+hilakashai@users.noreply.github.com>
2022-12-19 15:12:28 +02:00
Ariel Mashraki
f226627d67 ent: export query interceptors (#3157) 2022-12-19 10:17:10 +02:00
Bumsik Kim
d5aa8d20f8 doc: tutorial typo fix (#3153)
* doc/md: Fix import path in example

* doc/md: Fix old contrib package doc path
2022-12-08 08:47:20 +02:00
mori yuta
b3ef46d768 doc: fix typo on versioned migration tutorial (#3139)
* fix typo

codegn -> code-gen

* Update doc/md/versioned/07-verifying-safety.md

Co-authored-by: Ariel Mashraki <7413593+a8m@users.noreply.github.com>
2022-12-07 11:52:35 +02:00
Ariel Mashraki
3f1d7c960e example: add jsonencode using extension (#3142) 2022-12-04 10:38:23 +02:00
mori yuta
f40fff0f5c doc/md: corrected design deviations in the text. (#3138) 2022-12-03 08:35:08 +07:00
VTRyo
bc931edddf doc/md: change example file path (#3124) 2022-11-27 14:36:38 +02:00
Ariel Mashraki
f7109f0274 dialect/sql/schema: make WriteDriver friendlier (#3119)
Also, add a guide for writing and executing data migrations files.
2022-11-27 13:27:15 +02:00
Karsten Köhler
05de3fb096 doc/md: fix typo in Atlas link (#3116) 2022-11-26 11:14:05 +02:00
Ariel Mashraki
2d980550db doc/edges: document the new edges behavior 2022-11-20 17:37:08 +02:00
Rotem Tamir
a5aadd7737 doc/md/versioned: fixes to tutorial (#3102) 2022-11-17 11:04:53 +02:00
Rotem Tamir
cd60f84853 doc/md/versioned: upgrading to versioned migrations (#3095) 2022-11-16 10:59:06 +02:00
Ariel Mashraki
8a8c72f377 example/migration: improve atlas migration example (#3092) 2022-11-14 13:58:35 +02:00
Ariel Mashraki
25021635a0 doc/fields: document default values using annotations 2022-11-12 14:38:33 +02:00
Ariel Mashraki
b86bc12db9 doc: document custom index operator classes (#3079) 2022-11-09 20:50:45 +02:00
Ariel Mashraki
1d957101fc doc/aggregate: add examples for <T>Query.Aggregate 2022-10-23 09:50:23 +03:00
Satoshi Morita
d17c28bee0 doc: update tutorial-todo-gql-field-collection.md (#3021)
refs: https://github.com/ent/contrib/pull/385
2022-10-17 13:55:37 +03:00
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
Ariel Mashraki
a26e21ff6a doc: update sqlite migration section (#2999)
Closed https://github.com/ent/ent/issues/2997
2022-10-09 14:54:53 +03:00
allcontributors[bot]
0b38ce8bf1 add kortschak as a contributor for doc (#2978) 2022-09-30 09:09:38 +03:00
Dan Kortschak
7d3d898f60 doc/md: various improvements to gRPC tutorial (#2977) 2022-09-30 08:59:53 +03:00
Ariel Mashraki
837d077f98 doc: add Append<F> to crud page (#2976) 2022-09-29 17:42:22 +03:00
Ariel Mashraki
fe743ccd57 doc: remove comment about edge-schema status (#2974) 2022-09-29 10:07:11 +03:00
Ariel Mashraki
7ecc929fb5 doc/features: add sqljson.Append to modifier examples 2022-09-29 08:54:44 +03:00
Jannik Clausen
5330f87759 doc/md: add ci instructions for SQLite (#2970) 2022-09-28 12:08:21 +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
Dan Kortschak
bd80e069b9 doc: fix file name for required change (#2961) 2022-09-27 09:58:45 +03:00
Dan Kortschak
7ad7df2d04 doc: make mutation and variable match todo.graphql (#2960)
Replay the same GraphQL change made in tutorial-todo-gql-node.md for
tutorial-todo-gql-paginate.md.
2022-09-26 13:42:41 +03:00
yuki2006
16f978298f doc/md: fix broken links to "GraphQL example" (#2959) 2022-09-26 12:21:50 +03:00
Dan Kortschak
192eace0f5 doc: make mutation and variable match todo.graphql (#2958)
Also remove section in gqlgen.yml that does not appear in the local file.
2022-09-26 10:31:26 +03:00
Ariel Mashraki
baa282dac7 doc/tx: improve WithTx example (#2952) 2022-09-24 20:19:14 +03:00
jiurenm
0f5cba6144 doc: update schema-edges.mdx (#2947) 2022-09-22 11:56:05 +03:00
Jannik Clausen
f43b06492f doc/md: add atlas migration import to versioned docs (#2942) 2022-09-21 11:07:39 +02:00
Ariel Mashraki
8502534ddf doc/indexes: add partial indexes example (#2945) 2022-09-20 15:35:12 +03:00
allcontributors[bot]
a3e38c5141 docs: add jhwz as a contributor (#2943)
* update doc/md/contributors.md [skip ci]

* update .all-contributorsrc [skip ci]

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2022-09-20 12:50:54 +02:00
jhwz
043fa71045 Docs spelling arguement -> argument (#2939) 2022-09-20 12:44:15 +02:00
Yun
d9b3004be7 doc/md: fix package name breaking generate (#2922) 2022-09-11 08:52:38 +03:00
Ariel Mashraki
9e56543bfc doc/graphql: improve relay connection annotation (#2920) 2022-09-09 11:59:38 +03:00
Jannik Clausen
366aaaad7a doc/md: change default execution engine to Atlas in documentation (#2916) 2022-09-08 20:29:44 +03:00
Ariel Mashraki
d0bce8aee4 doc/graphql: link to tutorial basic setup (#2918) 2022-09-08 20:23:15 +03:00
Ariel Mashraki
31e41da792 doc: link from graphql doc to tutorial (#2917) 2022-09-08 20:04:36 +03:00
thuan1412
29aa179c67 doc/md: update schema-indexes doc (#2914)
Co-authored-by: Thuấn Đỗ Hoàng <thuan.dh@teko.vn>
2022-09-08 17:57:34 +03:00
Ariel Mashraki
82ee525676 doc/tutorial: update entgql + gqlgen integration (#2915) 2022-09-08 17:56:11 +03:00
Ariel Mashraki
cfb038810d dialect/sql/entsql: support including non-key columns in postgres indexes (#2912) 2022-09-07 22:09:48 +03:00
Ariel Mashraki
79fe0ebcd6 sql/sqljson: add support for ValueIn/ValueNotIn (#2882) 2022-08-24 17:58:44 +03:00