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
|
a8dde5e0d1
|
dialect/sql/sqlgraph: move fields setters to method calls (#2995)
|
2022-10-08 20:08:22 +03:00 |
|
Giau. Tran Minh
|
195be2d98d
|
entc/gen: fixed unnamed field initialization (#2648)
* entc/gen: fixed ConstraintError fields name
* fix: run go generate
* entc/gen: fixed Filter fields name
* fix: run go generate again for entql
|
2022-06-14 12:32:46 +03:00 |
|
Ariel Mashraki
|
fd955654a0
|
entc/gen: change codegen signature from entc to ent (#2627)
|
2022-06-07 17:48:17 +03:00 |
|
Ariel Mashraki
|
e1c5277483
|
ent: initial support for edge schemas (#2560)
|
2022-05-25 15:46:00 +03:00 |
|
Justin Johnson
|
38d4d5fb5c
|
entc/gen: propagate nodes post-save mutations (#2525)
* Failing test
* Fix propagating entirely models from OpCreate hook
* Apply suggestions from code review
Co-authored-by: Ariel Mashraki <7413593+a8m@users.noreply.github.com>
* whitespace
* Failing test for updateone
* fix for updateone
* Regnerate
* regen from root
Co-authored-by: Ariel Mashraki <7413593+a8m@users.noreply.github.com>
|
2022-05-05 11:19:21 +03:00 |
|
Ariel Mashraki
|
09c4306378
|
entc/gen: add support for upsert/on-conflict feature-flag
|
2021-08-04 14:01:31 +03:00 |
|
Ariel Mashraki
|
3307dd5323
|
entc/gen: add the Exec(X) methods for BulkCreate
|
2021-07-29 17:50:51 +03:00 |
|
Tarrence van As
|
cdfa3e35bb
|
entc/gen: add Exec and ExecX to Create builder (#1753)
|
2021-07-23 15:00:47 +03:00 |
|
Ariel Mashraki
|
b8129817ca
|
entc/gen: return an error instead of panic when import forgotten
|
2021-07-19 11:25:52 +03:00 |
|
Ariel Mashraki
|
ded20a0e36
|
entc/gen: cleanup sql templates
|
2021-06-27 10:27:10 +03:00 |
|
Matthew Gabeler-Lee
|
110073c982
|
entc/gen: fix nil dereference (SIGSEGV) on db errors during Save with Hooks (#1629)
* entc/gen: check for errors before assuming success when save has hooks
* entc/integration,examples: update generated code
|
2021-06-09 08:56:11 +03:00 |
|
Ariel Mashraki
|
11567a3926
|
entc/gen: update mutation-id on post mutation
|
2021-05-31 20:31:51 +03:00 |
|
Ariel Mashraki
|
dd4792f5b3
|
go: rename module from github.com/facebook/ent => entgo.io/ent (#1226)
|
2021-02-02 23:03:04 +02:00 |
|
Nathaniel Peiffer
|
b8b82f80a4
|
entc/gen: fix grammar and language usage in function comments (#1126)
* fix grammar and english usage in templates
* bindata gen
* codegen
* go generate ./again...
|
2021-01-04 14:34:40 +02:00 |
|
Ariel Mashraki
|
013c185b4a
|
entc/integ: minor style changes in integration (#978)
|
2020-11-24 19:47:24 +02:00 |
|
Ciaran Liedeman
|
bbd41dbc87
|
dialect/sql/schema: integer to string (#954)
* Allow migrations from integer to string with max length
* switched to entsql.Annotation
* removed manual conversion size checks
* fixed unit tests
|
2020-11-24 18:09:40 +02:00 |
|