An entity framework for Go
v0.5.3 is a small release for fixing schema annotations when they are defined both in mixin.Schema
and ent.Schema
.
We release this version although it's quite small, in order to provide a stable version for supporting JSON fields migration in MariaDB.
driver.Valuer
in typed predicatesThis version contains multiple bug fixes and perf improvements, but also includes a major feature which is the privacy support and additional small features for ent/schema and code-generation.
WithForeighKeys
option to migrategen.Template
for ent extensionsFirstXID
to FirstIDX
hook.FixedError
helpertemplate.FuncMap
for template execution).sqljson
. In the future, JSON predicates will be added to the generated predicates.WithFixture
default value to be false
. It's likely to be removed in the upcoming versions. Users that migrate from v0.0.1, directly to v0.4.3, should pass WithFixture(true)
on migration.Small release with a few bug fixes and the following schema changes:
Enum.NamedValues
method was added to replace Enum.ValueMap
.The repository was migrated from facebookincubator to facebook organization.
This version includes multiple bug fixes, changes in ent/schema, the generated-code and the database migration.
GoType
support for enum fields. This change makes it possible to share the same enum type between multiple schemas.Unique
option to UUID fields.fail
function to template functions.uint64
(from int
).OldField
to the ent.Mutation
interface.String()
, .Int()
, etc