Files
ent/examples/jsonencode
Giau. Tran Minh 2b1ad7e4b0 chore: bump x/tools to latest (#4329)
* chore: bump `x/tools` to latest

* chore: fixed lint on go1.24
2025-02-13 16:09:44 +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