Ariel Mashraki
|
caf721df47
|
entc/gen: add eager-loading support (#263)
* entc/gen: add OwnFK indicator for type edges
* entc/gen: add Edges field for generated types
* entc/gen: add With<T> method to query-builder template
* entc/gen: scan and assign foreign-keys on eager-loading
* entc/gen: load fk-relations (wip)
* entc/integration: add o2m/m2o tests for eager-loading
* entc/gen: add m2m support for eager-loading
* entc/gen: add integration tests for m2m and subgraphs
* entc/gen/integration: add tests for o2o eager-loading
* all: generate all assets
|
2020-01-13 17:21:26 +02:00 |
|
Ariel Mashraki
|
b54007ef56
|
Entc/enums (#271)
* ent: add default value setter to enum builder
Co-authored-by: Dario Ielardi <dario.ielardi@gmail.com>
|
2020-01-05 18:31:35 +02:00 |
|
Ariel Mashraki
|
13ae2fcea1
|
entc/integration: add tests for mixim fields (#270)
|
2020-01-05 17:29:06 +02:00 |
|
Ariel Mashraki
|
4021d35e5a
|
entc/integration: split generate commands to packages
|
2019-12-23 11:29:10 +02:00 |
|
Ariel Mashraki
|
0a7608f8bd
|
all: change codegen header
|
2019-12-18 13:00:25 +02:00 |
|
Ariel Mashraki
|
798d58f02b
|
all: use more go-ish error for constraint failures
|
2019-12-17 23:17:55 +02:00 |
|
Ariel Mashraki
|
e85b10be36
|
entc/gen: remove multi storage support
|
2019-12-15 14:48:55 +02:00 |
|