mirror of
https://github.com/ent/ent.git
synced 2026-05-22 09:31:45 +03:00
02bae0d6520fb6aff0c1ab9f00db9ff5a40724a4
Summary: This pull request modifies the update builder template so that it no longer generates code to validate immutable fields. The first commit breaks the integration code by making the `number` field of `Card` immutable (the generated validation code references non-existent fields of `CardUpdate`/`CardUpdateOne`). The second commit fixes the issue by making the `update/save` template not render validation code for immutable fields. Pull Request resolved: https://github.com/facebookincubator/ent/pull/137 Differential Revision: D18288633 Pulled By: a8m fbshipit-source-id: c0361b833a3971f76280d624f16cd7eda2725c1e
ent - An Entity Framework For Go
Simple, yet powerful ORM for modeling and querying data.
- Schema As Code - model any graph schema as Go objects.
- Easily Traverse Any Graph - run queries, aggregations and traverse any graph structure easily.
- Statically Typed And Explicit API - 100% statically typed and explicit API using code generation.
- Multi Storage Driver - supports MySQL, PostgreSQL, SQLite and Gremlin.
Quick Installation
go get github.com/facebookincubator/ent/cmd/entc
For proper installation using Go modules, visit entgo.io website.
Docs
The documentation for developing and using ent is available at: https://entgo.io
Join the ent Community
See the CONTRIBUTING file for how to help out.
Project Status
ent was developed and maintained by a8m and alexsn
from the Facebook Connectivity team. It's currently considered experimental (although we're using it in production),
and the roadmap for v1 release is described here.
Read more about the motivation of the project here.
License
ent is licensed under Apache 2.0 as found in the LICENSE file.
Description
Languages
Go
100%
