Commit Graph

720 Commits

Author SHA1 Message Date
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
Rotem Tamir
d0943109b5 doc/website/blog: fix ci link (#2913) 2022-09-08 13:59:07 +03:00
Rotem Tamir
346af30254 doc/website/blog: ci blogpost (#2903) 2022-09-08 12:09:23 +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
dependabot[bot]
9200dcdcc0 build(deps): bump minimist from 1.2.5 to 1.2.6 in /doc/website (#2872)
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-30 07:45:14 +03:00
Ariel Mashraki
79fe0ebcd6 sql/sqljson: add support for ValueIn/ValueNotIn (#2882) 2022-08-24 17:58:44 +03:00
Bill Mill
f3b6dd9d7e doc/md: add -mod=mod to 'go run' commands in documentation (#2881)
https://go.dev/ref/mod#build-commands is the documentation for the -mod flag. It seems that basically -mod=mod is never harmful in ent's case, all it does is tell the go command that it can add ent to the go.mod file if it's not already present
2022-08-23 21:15:30 +03:00
allcontributors[bot]
4467021c6c docs: add water-a as a contributor for bug (#2879)
* docs: update doc/md/contributors.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2022-08-21 11:10:55 +03:00
Ariel Mashraki
f40cdf84f4 entc/gen: ensure immutability is consistent between edge and their fields (#2877) 2022-08-20 19:30:27 +03:00
Ariel Mashraki
b18ca9ca6f schema/edge: allow setting immutable edges (#2876) 2022-08-20 19:10:16 +03:00
Ariel Mashraki
2c63d1d70e all: gofmt -w -r 'interface{} -> any' (#2874) 2022-08-19 18:23:04 +03:00
Jannik Clausen
b6c185a660 dialect/sql/schema: make use of new atlas migration directories and r… (#2873)
* dialect/sql/schema: make use of new atlas migration directories and remove examples for custom formatters

* typo
2022-08-19 14:42:54 +02:00
Yash Diniz
67a266300d doc/md: a typo under the Mutation section (#2869) 2022-08-19 11:14:50 +03:00
Rotem Tamir
b02de28afc doc/md: minor fixes to ci examples (#2867) 2022-08-19 09:41:30 +03:00
Rotem Tamir
50d4c62057 doc/md: add instructions for migration dir linting in ci page (#2865) 2022-08-18 14:41:00 +03:00
dependabot[bot]
bd1a311e50 build(deps): bump trim from 0.0.1 to 0.0.3 in /doc/website (#2848)
Bumps [trim](https://github.com/Trott/trim) from 0.0.1 to 0.0.3.
- [Release notes](https://github.com/Trott/trim/releases)
- [Changelog](https://github.com/Trott/trim/blob/main/CHANGELOG.md)
- [Commits](https://github.com/Trott/trim/compare/0.0.1...v0.0.3)

---
updated-dependencies:
- dependency-name: trim
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-15 22:27:45 +03:00
Rotem Tamir
cb01c2831f doc/md/ci: fix yaml (#2859) 2022-08-15 14:20:54 +03:00
Rotem Tamir
c53251cbf6 doc/md/ci: fix weird sentence (#2858) 2022-08-15 10:09:32 +03:00
Ariel Mashraki
6637cbf68e examples/migration: add doc about migration linting (#2856) 2022-08-15 09:45:36 +03:00
Rotem Tamir
94226c9093 doc: entci (#2853)
* doc: entci

* Update doc/md/ci.mdx

Co-authored-by: Ariel Mashraki <7413593+a8m@users.noreply.github.com>

* Update doc/md/ci.mdx

Co-authored-by: Ariel Mashraki <7413593+a8m@users.noreply.github.com>

* Update sidebars.js

Co-authored-by: Ariel Mashraki <7413593+a8m@users.noreply.github.com>
2022-08-14 18:22:39 +03:00
Ariel Mashraki
0350da3267 doc/md: add missing codereview comment (#2852) 2022-08-14 14:45:16 +03:00
Ariel Mashraki
01a4906931 doc/migration: improve versioned migration workflow example (#2851) 2022-08-14 14:42:11 +03:00
Ariel Mashraki
757fc94985 doc/md: trigger master build 2022-08-13 20:17:44 +03:00
Ariel Mashraki
8fc8d65a16 doc/fields: add section for nillable-required fields 2022-08-13 20:12:28 +03:00
Ariel Mashraki
0066eb986d entc/gen: extend sql/modify to UPDATE statements 2022-08-05 14:42:04 +03:00
Ariel Mashraki
c7de2ec511 doc/versioned-migration: add atlas import for code example (#2819) 2022-08-02 11:44:27 +03:00
gneyal
ea3aa8cf5b doc/md: remove entgql annotation from crud step (#2816) 2022-08-01 14:17:08 +03:00
Jeremy Maxey-Vesperman
3f04b0fe6e doc/md: update grpc tutorial for List and BatchCreate methods (#2518) 2022-07-31 09:12:15 +03:00
Ariel Mashraki
1ee2876349 doc/website: add edit and lastedit info to doc pages (#2800) 2022-07-25 18:32:36 +03:00
Ariel Mashraki
b9b502bc2a doc/schema-edges: fix annotation example (#2799) 2022-07-25 18:08:42 +03:00
Xin Hao
d4aa8b60d7 doc/website: using go install instead of go get (#2796) 2022-07-25 17:16:51 +03:00
Ariel Mashraki
31bc1a98fb doc/website: update version-migration with global ids (#2798) 2022-07-25 14:59:09 +03:00
Ariel Mashraki
b60e0f9eac entc/gen: add support for WithNamed<E> feature-flag (#2792)
* entc/gen: struct fields and methods for NamedEdge api

* entc/gen: generate WithNamedEdge methods for named-edges

* entc/gen: implement eager-loading for named-edges

* entc/gen: simplify eager-loading template

* entc/gen: drop support for unqiue edges in named-based loading

* all: codegen

* doc/website: named-edges feature-flag

* Update doc/md/eager-load.mdx

* Update doc/md/eager-load.mdx
2022-07-24 18:41:07 +03:00
Ariel Mashraki
43ceed9b6f doc: update getting-started to not mention PATH 2022-07-23 16:14:58 +03:00
42Atomys
9bfe86450d doc/predicates: fix invalid SQL example (#2778)
An invalide sql statement is provider in documentation, just a missing `)`
2022-07-21 11:35:07 +03:00
Thomas Meitz
081f2bbabb doc/website: update dialects doc to reflect postgres 14 testing (#2777) 2022-07-20 18:05:51 +03:00
Itay Garin
88183c1f4c doc/website: document tweaking transaction isolation levels (#2774)
* docs: document tweaking transaction isolation levels

* Update doc/md/tutorial-todo-gql-tx-mutation.md

Co-authored-by: Ariel Mashraki <7413593+a8m@users.noreply.github.com>

* Update doc/md/tutorial-todo-gql-tx-mutation.md

* Update doc/md/tutorial-todo-gql-tx-mutation.md

Co-authored-by: Ariel Mashraki <7413593+a8m@users.noreply.github.com>
2022-07-20 14:52:26 +03:00
Ariel Mashraki
42b68cb9fc doc/website: use title in code blocks (#2769) 2022-07-17 19:07:02 +03:00
nine-hundred
dd4a0203e5 When run 'go generate ./ent', got error on [create type Todo: invalid default value for enum field "status"] (#2746)
Because todo.graphql on tutorial-todo-gql.md says enum Status is "IN_PROGRESS"
2022-07-13 14:03:32 +03:00
Jannik Clausen
0f33b0bcb8 doc/md: update docs to fix #2731 (#2732) 2022-07-08 20:26:46 +02:00