Files
ent/examples/jsonencode
Giau. Tran Minh 6b1d0a2e84 entc/gen: fixed conflict with package name table/column (#4357)
* entc/gen: fixed conflict with package name table/column

* examples: codegen

* entc/integration: codegen
2025-03-19 16:00:07 +07:00
..

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