Alex Snast
|
25fdb52a03
|
entc/gen: use a set when tracking cleared fields in mutation template
Signed-off-by: Alex Snast <alexsn@fb.com>
|
2020-03-17 12:00:15 +02:00 |
|
Ariel Mashraki
|
7988d3084d
|
entc/hooks: initial work for mutations and hooks (#377)
* entc/hooks: initial work for mutations and hooks
* ent/schema: adding policy to schema
* ent: change op string to uint
* entc: move entschema to runtime and enable smooth transition
* entc/privacy: adding privacy template
* all: goimports
* intg/hooks: mutation client/tx and basic schema tests
* ent/privacy: adding more verbose decisions
* entc/gen: edge-ids getter and additional tests
* all: regen assets
* entc/gen: fix client hookd propagation
* intg: add deletion example
* intg/privacy: remove old entschema package
* typed privacy
* ent/privacy: hooks shouldn't be called on privacy deny
* entc/gen: fix schema hooks invocation order
* remove read policy from public api
* update circleci go orb
Co-authored-by: Ariel Mashraki <ariel@mashraki.co.il>
|
2020-03-16 00:19:27 +02:00 |
|
Ariel Mashraki
|
7a480e3943
|
entc/gen: use more go-ish names for generated error types (#321)
* entc/gen: use more go-ish names for generated error types
* entc/gen: add NotLodedError type for eager-load api
|
2020-01-28 11:04:27 +02: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
|
59f172f06a
|
entc/integration/migrate: add integration tests for migrate
|
2020-01-01 19:12:11 +02:00 |
|