dependabot[bot]
4d11fe3383
build(deps): bump ansi-regex from 5.0.0 to 5.0.1 in /doc/website ( #2855 )
...
Bumps [ansi-regex](https://github.com/chalk/ansi-regex ) from 5.0.0 to 5.0.1.
- [Release notes](https://github.com/chalk/ansi-regex/releases )
- [Commits](https://github.com/chalk/ansi-regex/compare/v5.0.0...v5.0.1 )
---
updated-dependencies:
- dependency-name: ansi-regex
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:28:18 +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
5b3bcfa609
go: update ariga.io/atlas ( #2854 )
2022-08-14 15:47:38 +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
94b19ac973
dialect/sql: use raw NULL value in statements rather than passing nil arguments
2022-08-14 11:10:36 +03:00
Ariel Mashraki
5c2013b5fd
entc/integration: example for #2846
2022-08-14 11:10:36 +03:00
Ariel Mashraki
757fc94985
doc/md: trigger master build
2022-08-13 20:17:44 +03:00
Ariel Mashraki
0298893924
.github/cd: update node version
2022-08-13 20:15:16 +03:00
Ariel Mashraki
8fc8d65a16
doc/fields: add section for nillable-required fields
2022-08-13 20:12:28 +03:00
Ariel Mashraki
b207429f15
entc/gen: allow setting required fields as nillable
2022-08-13 20:12:28 +03:00
Ariel Mashraki
c8fc927f0d
entc/gen: add tests for bulk-upsert fix in #2840 ( #2845 )
2022-08-12 21:12:34 +03:00
Viktoriia Dlugopolskaia
7eb1ccd274
entc/gen: ignore immutable fields updating during bulk upsert ( #2840 )
2022-08-12 19:50:05 +03:00
Ariel Mashraki
24d1fad3b8
examples: add ent init --template example
2022-08-11 16:37:11 +03:00
Ariel Mashraki
0066eb986d
entc/gen: extend sql/modify to UPDATE statements
v0.11.2
2022-08-05 14:42:04 +03:00
Ariel Mashraki
0fd641333c
dialect/sql/sqlgraph: support custom modifiers in UPDATE commands
2022-08-05 14:42:04 +03:00
Ariel Mashraki
9f481d8716
dialect/sql: support setting ORDER BY for UPDATE statements
2022-08-05 14:42:04 +03:00
Ariel Mashraki
47972774c5
go: bump go/packages version ci to 1.18+1.19 ( #2832 )
...
* bumped pkg golang.org/x/tools version to address issue #2826
* .github: update go1.19 in go generate
Co-authored-by: Ankit Patial <ankitpatial@gmail.com >
2022-08-05 11:17:53 +03:00
Giau. Tran Minh
89007ec983
entc/gen: fixed privacy filter for M2M edges ( #2828 )
...
* entc: fixed privacy filter for M2M
* all: codegen
2022-08-03 23:24:25 +03:00
dependabot[bot]
22c2f3a35d
build(deps): bump aws-actions/configure-aws-credentials ( #2825 )
...
Bumps [aws-actions/configure-aws-credentials](https://github.com/aws-actions/configure-aws-credentials ) from 1.6.1 to 1.7.0.
- [Release notes](https://github.com/aws-actions/configure-aws-credentials/releases )
- [Changelog](https://github.com/aws-actions/configure-aws-credentials/blob/master/CHANGELOG.md )
- [Commits](https://github.com/aws-actions/configure-aws-credentials/compare/v1.6.1...v1.7.0 )
---
updated-dependencies:
- dependency-name: aws-actions/configure-aws-credentials
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-03 10:14:55 +03:00
Ariel Mashraki
c7de2ec511
doc/versioned-migration: add atlas import for code example ( #2819 )
2022-08-02 11:44:27 +03:00
Ariel Mashraki
26e07c90c0
dialect/sql/sqlgraph: support edgeschema in entgql ( #2817 )
2022-08-01 18:18:12 +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
9673a4d506
entc/gen: allow naming ent/schema as Field ( #2811 )
2022-07-29 13:17:20 +03:00
Ariel Mashraki
f5568d2825
entc/gen: skip generating predicates that conflicts with FieldID constant ( #2810 )
2022-07-29 10:03:30 +03:00
Daniel Huckins
f9dfac628b
cmd/ent: add support for --template in init command ( #2728 )
...
* allow init cmd to have a template file or string
* add example
* dead code
* only use path
* Apply suggestions from code review
Co-authored-by: Ariel Mashraki <7413593+a8m@users.noreply.github.com >
* fix lint
Co-authored-by: Ariel Mashraki <7413593+a8m@users.noreply.github.com >
2022-07-27 21:23:08 +03:00
Ariel Mashraki
6f356228e1
entc/integration: exmaple for multischema in migration ( #2804 )
2022-07-27 17:04:59 +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
a2b18f24f0
entc/gen: move eager-loading to method ( #2790 )
...
This is a preparation work for 'WithNamed<E>' API
2022-07-23 23:46:02 +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
Sasha Melentyev
5daf02bc73
go: small refactoring for maps ( #2619 )
2022-07-19 18:07:55 +03:00
Andy Day
8beaef87ba
dialect/sql/builder: make sql.NotIn() with empty args fallback to NOT FALSE ( #2757 )
...
* dialect/sql/builder: make sql.NotIn() with empty args fallback to False()
This is basically the identical change to #2735 , but for NotIn().
This bug currently prevents anyone using NotIn() from upgrading from v0.10.x to v0.11.x
* Update go.sum
untidy
* feedback
2022-07-19 06:36:39 +03:00
Ariel Mashraki
42b68cb9fc
doc/website: use title in code blocks ( #2769 )
2022-07-17 19:07:02 +03:00
Ariel Mashraki
9a04641525
go: update ariga.io/atlas to latest master ( #2767 )
2022-07-17 17:27:12 +03:00
Ariel Mashraki
077670451a
entc/gen: skip enum identifier checks in case it has custom Go type ( #2766 )
...
Fixes https://github.com/ent/ent/issues/2756
2022-07-17 17:14:43 +03:00
Sasha Melentyev
9e0d8af284
ent/gen: use error.New for errors without format ( #2764 )
2022-07-17 16:50:50 +03:00
Ariel Mashraki
ddc46d34d8
schema/field: correctly extract package names from type identifier ( #2765 )
...
Fixes https://github.com/ent/ent/issues/2761
2022-07-17 16:49:11 +03:00
Ariel Mashraki
01f97334af
entc/gen: use custom schema-type in join tables foreign-keys ( #2760 )
...
Fixed https://github.com/ent/ent/issues/2753
2022-07-15 11:01:13 +03:00