Ariel Mashraki
9e809635b2
entc/gen: ignore immutable fields on Upsert<T>.UpdateNewValues
...
Also, for some reason, the TimeMixin.UpdateTime was an immutable field,
but this was incorrent, because the codegen just skip generating
update setters to it. Removing the Immutable modifier allows users
to set this field explicitly.
2021-10-08 08:20:05 +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
Ariel Mashraki
c8a6527612
schema/mixin: add support for mixed-in annotations
2020-10-12 13:06:25 +03:00
Ariel Mashraki
d5ae1b018e
schema/mixin: add privacy policy to mixin ( #821 )
2020-10-06 10:59:36 +03:00
Ariel Mashraki
1b5f51b827
schema: shared annotation interface for schema objects ( #813 )
2020-10-03 16:51:00 +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
5c170bce8f
schema/mixin: add AnnotateEdges helper ( #659 )
2020-08-06 13:03:34 +03:00
Ariel Mashraki
7425b90e01
schema/mixin: rename Annotate to AnnotateFields ( #628 )
2020-07-21 10:15:16 +03:00
Alex Snast
31105f408d
schema/mixin: adding mixin.Annotate helper which adds anootations to mixin fields ( #625 )
...
Signed-off-by: Alex Snast <alexsn@fb.com >
2020-07-20 11:48:42 +03:00
Ariel Mashraki
1c49159d18
entc/gen: add indexes, edges and hooks to mixin ( #431 )
2020-04-20 13:40:56 +03:00