Files
ent/examples/jsonencode/README.md
2022-12-04 10:38:23 +02:00

292 B

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