Files
ent/examples/jsonencode
Ariel Mashraki da69615bd0 entc/gen: rename <type>.Order to <type>.OrderOption (#3468)
Also, avoid generting predicate without op in case a field named: order_option
2023-04-11 08:23:29 +03: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