mirror of
https://github.com/ent/ent.git
synced 2026-05-06 01:20:56 +03:00
* examples: ensure tests is stable * entc/gen/template: remove receiver conflict handling logic * examples: codegen * entc/integration: codegen
JSON Encode Extension
EncodeExtension is an implementation of entc.Extension that adds a MarshalJSON
method to each generated type <T> and inlines the Edges field to the top level JSON.
Generate Assets
go generate ./...
Run Examples
go test