Ariel Mashraki
|
236cd2920c
|
entc/gen: use consistent per-node client names (#3233)
Fixed https://github.com/ent/ent/issues/3230
|
2023-01-11 12:09:13 +02:00 |
|
Ariel Mashraki
|
b88f45aa78
|
entc/gen: skip executing sub-query for empty set of edges (#3212)
|
2023-01-07 08:54:18 +02:00 |
|
Ariel Mashraki
|
41bf915604
|
entc/gen: support setting default values/exprs for edge-fields (#3203)
|
2023-01-02 14:19:01 +02:00 |
|
Pedro Henrique
|
8307c2eaba
|
entc/gen: copies interceptors on Clone (#3194)
|
2022-12-28 06:29:48 +02:00 |
|
Ariel Mashraki
|
34bd0b7b6f
|
entc/gen: move mutation hooks logic to a shared generic function (#3180)
|
2022-12-19 17:36:29 +02:00 |
|
Ariel Mashraki
|
68a4533574
|
entc/gen: use new sql predicates to reduce codegen size (#3179)
|
2022-12-19 11:40:39 +02:00 |
|
Ariel Mashraki
|
f226627d67
|
ent: export query interceptors (#3157)
|
2022-12-19 10:17:10 +02:00 |
|
Ariel Mashraki
|
d0c5afa705
|
entc/gen: make generated client to implement the ent.Mutator interface (#3161)
|
2022-12-09 21:18:25 +02:00 |
|
Ariel Mashraki
|
f1205ce95f
|
entc/gen: remove driver specific implementation for Exist (#3136)
|
2022-12-01 17:39:52 +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 |
|
Ariel Mashraki
|
5954fa8b15
|
dialect/sql/schema: normalize ent/schema (desired state) on replay mode (#3100)
|
2022-11-16 20:01:36 +02:00 |
|
Ariel Mashraki
|
8a8c72f377
|
example/migration: improve atlas migration example (#3092)
|
2022-11-14 13:58:35 +02:00 |
|
Ariel Mashraki
|
3ddcb76ba0
|
entc/gen: fix codegen typo
|
2022-10-26 21:08:39 +03:00 |
|
Ariel Mashraki
|
765ec09d31
|
entc/gen: add Aggregate to <T>Select and <T>Query
|
2022-10-23 09:50:23 +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 |
|
Aagosh
|
326fe42d49
|
entc/gen: use FirstID instead of Count for Exist calls (#2896)
* Improve sqlexist template
* Address review comment and regenerate files
* Regenerate using go1.19
* Run go generate for examples dir
* Address review comment
* Update entc/gen/template/dialect/sql/query.tmpl
Co-authored-by: Ariel Mashraki <7413593+a8m@users.noreply.github.com>
|
2022-09-04 10:04:57 +03:00 |
|
Ariel Mashraki
|
2c63d1d70e
|
all: gofmt -w -r 'interface{} -> any' (#2874)
|
2022-08-19 18:23:04 +03:00 |
|
Ariel Mashraki
|
6637cbf68e
|
examples/migration: add doc about migration linting (#2856)
|
2022-08-15 09:45:36 +03:00 |
|
Ariel Mashraki
|
01a4906931
|
doc/migration: improve versioned migration workflow example (#2851)
|
2022-08-14 14:42:11 +03:00 |
|