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 |
|
Ariel Mashraki
|
2e6c066323
|
Revert "entc/gen: invoke chain hook in order to registration (#898)" (#899)
This reverts commit cdf2107cf8.
|
2020-10-28 18:12:11 +02:00 |
|
Alex Snast
|
cdf2107cf8
|
entc/gen: invoke chain hook in order to registration (#898)
|
2020-10-28 18:05:20 +02:00 |
|
Alex Snast
|
c5fae0e751
|
entc/gen: add hook.FixedError helper (#895)
|
2020-10-28 14:25:09 +02:00 |
|
Ariel Mashraki
|
13b379d07c
|
dialect/sql/schema: properly handle indexes of tables with uncountable name (#828)
|
2020-10-08 23:24:54 +03:00 |
|
Ariel Mashraki
|
feed51d773
|
doc: add hook helpers to ent website (#729)
|
2020-09-06 10:07:41 +03:00 |
|
Ariel Mashraki
|
fd0a7f9f02
|
all: facebookincubator/ent => facebook/ent (#660)
ent repository is going to be migrated to facebook organization
|
2020-08-18 11:05:08 +03:00 |
|
Alex Snast
|
7df2e02343
|
ci/lint: enabling goheader linter ensuring the existance of a license header in go files (#593)
Signed-off-by: Alex Snast <alexsn@fb.com>
|
2020-07-07 15:36:09 +03:00 |
|
Alex Snast
|
ef402679b4
|
Adding hook conditions (#589)
* entc/gen: adding hook condition tests
Signed-off-by: Alex Snast <alexsn@fb.com>
* Revert "entc/gen: adding hook condition tests"
This reverts commit 3a46ea6cbf.
* entc/gen: adding hook conditions
Signed-off-by: Alex Snast <alexsn@fb.com>
* entc/gen: adding hook condition tests
Signed-off-by: Alex Snast <alexsn@fb.com>
|
2020-07-06 16:40:51 +03:00 |
|
Alex Snast
|
1f553bc145
|
entc/gen: adding hook.Unless helper (#550)
|
2020-06-16 16:16:02 +03:00 |
|
Alex Snast
|
1b0e5ffaf4
|
entc/gen: simplify hook chain creation (#424)
* entc/gen: simplify hook chain creation
Signed-off-by: Alex Snast <alexsn@fb.com>
* circleci: upgrade orb versions
Signed-off-by: Alex Snast <alexsn@fb.com>
|
2020-04-07 08:11:33 +03:00 |
|
Alex Snast
|
d52d5120fd
|
entc/gen: adding hook chain construct (#423)
Signed-off-by: Alex Snast <alexsn@fb.com>
|
2020-04-06 19:53:10 +03:00 |
|
Ariel Mashraki
|
9cff230d34
|
entc/gen: temporary workaround for runtime.tmpl (#387)
* entc/gen: temporary workaround for runtime.tmpl
* ci: golangci version
|
2020-03-16 10:04:31 +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 |
|