Ariel Mashraki
|
497fca4c96
|
entc/gen: skip selecting group-by fields if they already selected
|
2021-04-19 17:20:44 +03:00 |
|
Ariel Mashraki
|
a51c50f6a3
|
entc/gen: allow group-by by relations
|
2021-04-19 14:28:40 +03:00 |
|
Ciaran Liedeman
|
eff6552989
|
entc/gen: allow users to alter Query initialization using templates (#1453)
* Templating: Allow user to alter Query struct init
* Update entc/gen/template/dialect/sql/query.tmpl
Co-authored-by: Ariel Mashraki <7413593+a8m@users.noreply.github.com>
* pr feedback
* renamed template
* changed sql to *
* to tabs
* removed old template
* update bin-data
* Update entc/integration/template/ent/template/query.tmpl
Co-authored-by: Ariel Mashraki <7413593+a8m@users.noreply.github.com>
* restore newline
* update bindata
Co-authored-by: Ariel Mashraki <7413593+a8m@users.noreply.github.com>
|
2021-04-14 14:04:29 +03:00 |
|
Ariel Mashraki
|
8d7bb7fad6
|
entc/gen: check edge-field on mutation-cleared calls for edges
Fixed #1445
|
2021-04-10 14:56:34 +03:00 |
|
Ariel Mashraki
|
2cc1c628dc
|
schema/field: use actual go type in generated interfaces (#1428)
|
2021-04-07 09:53:44 +03:00 |
|
Ariel Mashraki
|
21989f4aa4
|
entc/gen: chagne column-check error format
|
2021-03-29 15:29:45 +03:00 |
|
Ariel Mashraki
|
f12ef91829
|
entc/gen: privatize table columns check
|
2021-03-29 14:35:38 +03:00 |
|
Ariel Mashraki
|
cf8464cb28
|
entc/gen/template: allow disable DISTINCT in queries (#1371)
|
2021-03-22 16:36:05 +02:00 |
|
Ariel Mashraki
|
9685066b83
|
entc/gen: support on-delete annotation in migrate/schema
|
2021-03-16 15:29:21 +02:00 |
|