BrentChesny
|
263bc0b08f
|
entc/gen: add missing braces in mutation template (#1014)
|
2020-12-04 08:02:52 +02:00 |
|
Ariel Mashraki
|
a20ce535d1
|
entql: add driver.Valuer to generated predicates
|
2020-12-01 20:56:43 +02:00 |
|
Ariel Mashraki
|
6aca5504ea
|
entc/integration: add macaddr to integration tests (#965)
|
2020-11-20 23:19:25 +02:00 |
|
Ariel Mashraki
|
c2cdc52946
|
entc/gen: move predicates to mutation object (#825)
|
2020-10-07 14:22:14 +03:00 |
|
Ariel Mashraki
|
17abe2d60f
|
entc/gen: less sophisticated naming logic (#774)
Closed #772
|
2020-09-17 09:19:55 +03:00 |
|
Ariel Mashraki
|
4cb544c8d0
|
entc/gen: fix naming conflict for builder fields
Closed #747
|
2020-09-12 01:58:07 +03:00 |
|
Ariel Mashraki
|
8e824c14eb
|
entc/gen: add an option for clearing non-unique edges (#731)
Closed #398
|
2020-09-06 20:22:42 +03:00 |
|
Ariel Mashraki
|
673a049607
|
entc/gen: support custom go-type with default (#714)
|
2020-08-30 13:33:10 +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 |
|
Ariel Mashraki
|
04859c6fb4
|
schema/field: add GoType support for enum fields (#638)
|
2020-07-24 19:59:05 +03:00 |
|
Ariel Mashraki
|
03fe39ab74
|
entc/integration: add tests for gql naming convention (#636)
|
2020-07-22 23:01:38 +03:00 |
|
Ariel Mashraki
|
daaa9f2db1
|
schema/field: add option to set the Go identifier for enums (#635)
|
2020-07-22 20:22:24 +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 |
|
Ariel Mashraki
|
411567b7d8
|
entc/gen: add support for ValueScanner for float type (#535)
|
2020-06-09 08:27:20 +03:00 |
|
Ariel Mashraki
|
86d345e187
|
entc/gen: add support for ValueScanner for int type (#530)
|
2020-06-08 14:54:37 +03:00 |
|
Ariel Mashraki
|
29688a0fa5
|
entc/gen: add support for ValueScanner for bytes type (#524)
|
2020-06-04 19:00:07 +03:00 |
|
Ariel Mashraki
|
cc6c6e1b4c
|
entc/gen: add support for ValueScanner for GoType (#522)
|
2020-06-03 15:45:34 +03:00 |
|
Ariel Mashraki
|
916099611b
|
gotype/bool: support valuescanner in codegen (#517)
|
2020-06-01 21:45:20 +03:00 |
|
Ariel Mashraki
|
bf566aa3ac
|
entc/gen: support valuescanner in go-types (#510)
|
2020-05-28 18:23:14 +03:00 |
|
Ariel Mashraki
|
ce89688d00
|
schema/field: reject pointers for basic types (#505)
|
2020-05-26 23:16:54 +03:00 |
|
Ariel Mashraki
|
50edd3d370
|
entc/gen: convert custom Go types to basic types (#502)
|
2020-05-25 20:46:59 +03:00 |
|
Ariel Mashraki
|
dbf6bb8006
|
entc/mutation: explain when object is fetched from db (#496)
|
2020-05-21 10:10:52 +03:00 |
|
Ariel Mashraki
|
5ed339839a
|
entc/mutation: reject querying old values of finished mutations (#495)
|
2020-05-20 17:28:39 +03:00 |
|
Ariel Mashraki
|
b0e43f01f0
|
entc/mutation: avoid generting empty switch statements for edges (#493)
|
2020-05-17 17:58:22 +03:00 |
|
Ariel Mashraki
|
7da6ba804d
|
entc/mutation: avoid generting empty switch statements (#492)
|
2020-05-17 14:48:56 +03:00 |
|
Ariel Mashraki
|
ef7285b917
|
entc/gen: add api for getting field old values (#491)
|
2020-05-17 14:23:36 +03:00 |
|
Ariel Mashraki
|
cfee55e514
|
schema/field: add an option to configure the database type (#484)
|
2020-05-11 15:07:33 +03:00 |
|
Ariel Mashraki
|
08289b3570
|
entc/gen: fix method conflicts in mutation builders (#479)
Fixed #475
|
2020-05-08 21:02:21 +03:00 |
|
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
|
81a2f60e47
|
entc/gen: add facebookincubator/ent to mutation.tmpl imports (#390)
|
2020-03-17 10:33:58 +02:00 |
|
Ariel Mashraki
|
65f96b3593
|
entc/gen: remove legacy i2a support for ids (#389)
* entc/gen: remove legacy i2a support for ids
* integ: add customid tests for fk strings
|
2020-03-16 18:19:30 +02:00 |
|
Ariel Mashraki
|
15cbc5c223
|
entc/gen: unexport capitalized schema fields in mutations (#388)
|
2020-03-16 11:21:05 +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 |
|