Andrey Elenskiy
fe4b19a355
dialect/sql: add Window function to be able to customize function clause for window statements ( #2994 )
2022-10-11 23:45:49 +03:00
Ariel Mashraki
a1e6f06094
go: upgrade ariga.io/atlas ( #3010 )
2022-10-11 23:25:19 +03:00
Rotem Tamir
09114208be
doc/website/blog: fixes to json append post ( #3009 )
2022-10-11 22:26:34 +03:00
Rotem Tamir
96e1325e44
doc/website/blog: json append blogpost ( #3006 )
2022-10-11 18:12:30 +03:00
Ariel Mashraki
cf137c665a
dialect/sql/sqljson: cast marshaled args as json ( #3008 )
2022-10-11 14:15:01 +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
Marwan Sulaiman
713828b311
Remove unused variable and type redundancy ( #2996 )
2022-10-09 00:59:52 +03:00
Ariel Mashraki
a8dde5e0d1
dialect/sql/sqlgraph: move fields setters to method calls ( #2995 )
2022-10-08 20:08:22 +03:00
Ariel Mashraki
35e950edf9
contributing: add sqljson to doc
2022-10-02 16:22:56 +03:00
Ronen Lubin
0eaa78f77d
dialect/sql/sqljson: add option to evaluate json path inside a predicate ( #2982 )
...
* dialect/sql/sqljson: add option to evaluate json path inside a predicate
* add postgres test case
2022-10-02 15:56:15 +03:00
Ariel Mashraki
1029a2d3ba
entc/gen: attach tx hooks to underlying driver ( #2980 )
...
Allow attaching hooks to new instances of ent.Tx.
For example, ent.Mutation.Tx().OnCommit.
2022-10-01 09:26:02 +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
13bf27bdd6
entc/gen: support Append<F> for JSON array fields ( #2975 )
2022-09-29 16:57:54 +03:00
surjit
957d3c0098
examples/entcpkg: code updated based on latest release ( #2967 )
2022-09-29 10:57:57 +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
Ariel Mashraki
eb4ea68356
dialect/sql/sqljson: add dialect-aware Append function
2022-09-29 08:54:44 +03:00
Jannik Clausen
5330f87759
doc/md: add ci instructions for SQLite ( #2970 )
v0.11.3
2022-09-28 12:08:21 +03:00
dependabot[bot]
b286a4b0ce
build(deps): bump normalize-url from 4.5.0 to 4.5.1 in /doc/website ( #2968 )
...
Bumps [normalize-url](https://github.com/sindresorhus/normalize-url ) from 4.5.0 to 4.5.1.
- [Release notes](https://github.com/sindresorhus/normalize-url/releases )
- [Commits](https://github.com/sindresorhus/normalize-url/commits )
---
updated-dependencies:
- dependency-name: normalize-url
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-09-28 12:07:55 +03:00
dependabot[bot]
51d20e39f6
build(deps): bump path-parse from 1.0.6 to 1.0.7 in /doc/website ( #2969 )
...
Bumps [path-parse](https://github.com/jbgutierrez/path-parse ) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases )
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7 )
---
updated-dependencies:
- dependency-name: path-parse
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-09-28 12:07:46 +03:00
Jannik Clausen
c41d223733
dialect/sql/schema: disable foreign keys before opening a transaction ( #2966 )
...
* dialect/sql/schema: disable foreign keys before opening a transaction
* dialect/sql/schema: disable foreign keys before opening a transaction
* fix tests
* add test for bug
* apply CR
2022-09-28 07:41:49 +02: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
Ariel Mashraki
e93e96ed1b
dialect/sql/schema: use serial underlying types for fks ( #2963 )
2022-09-27 07:54:07 +03:00
Giau. Tran Minh
679109f5c2
entc/gen: remove space around continue for 1.18 compatible ( #2962 )
...
Related: https://github.com/golang/go/issues/51670
Signed-off-by: Giau. Tran Minh <hello@giautm.dev >
Signed-off-by: Giau. Tran Minh <hello@giautm.dev >
2022-09-26 21:10:15 +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
Jannik Clausen
139725ee00
dialect/sql/schema: no longer allocate a PK range for a join table ( #2950 )
...
* dialect/sql/schema: no longer allocate a PK range for a join table
* test that no breaking change is introduced
2022-09-23 13:40:36 +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
Ariel Mashraki
3fc4ba6f15
dialect/entsql: add support for partial indexes ( #2944 )
2022-09-20 15:07:28 +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
Pedro Henrique
1f8e4ada01
entc/gen: allow package with alias on ID field ( #2926 )
...
* entc/gen: allow package with alias on ID field
* Update entc/gen/template/import.tmpl
Co-authored-by: Giau. Tran Minh <giau.tmg@gmail.com >
Co-authored-by: Giau. Tran Minh <giau.tmg@gmail.com >
2022-09-18 16:45:21 +03:00
Ikko Ashimine
b81db910a3
doc: minor fix Japanese README ( #2935 )
2022-09-18 12:13:48 +03:00
Ariel Mashraki
0adfb94c30
dialect/sql: support defining multiple FROM in query ( #2933 )
2022-09-16 00:10:11 +03:00
Ariel Mashraki
4425d1a6e1
cmd/ent: support 'ent describe' in edge-schemas ( #2931 )
2022-09-15 11:09:15 +03:00
Yun
d9b3004be7
doc/md: fix package name breaking generate ( #2922 )
2022-09-11 08:52:38 +03:00
Aagosh
d9c71d7f67
schema/mixin: fix comments in godoc ( #2921 )
2022-09-10 13:41:26 +03:00
Ariel Mashraki
9e56543bfc
doc/graphql: improve relay connection annotation ( #2920 )
2022-09-09 11:59:38 +03:00
Ariel Mashraki
ac937f8a6e
entc/gen: allow using 'client' and 'tx' as schema field names ( #2919 )
2022-09-09 10:38:25 +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