Ariel Mashraki
|
faf6c2f2f6
|
ci: initial work for migration-testing (#311)
Also generating new assets for new ci steps.
|
2020-01-22 21:20:18 +02:00 |
|
aca
|
891fc4c5ef
|
remove meaningless omitempty
|
2020-01-19 00:26:04 +09:00 |
|
aca
|
8f5f8e8702
|
go generate
|
2020-01-18 16:56:31 +09:00 |
|
Ariel Mashraki
|
9b2b53f559
|
entc/gen: avoid conflict local vars with user packages (#292)
Fixes #284
|
2020-01-16 17:30:18 +02:00 |
|
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 |
|