Files
ent/examples/jsonencode
Ariel Mashraki 381483e45c entc/gen: remove unnecessary sqlgraph.To step on HasE predicates (#3144)
Predicate that checks existence-only do not need the 'other' table
2022-12-04 13:15:16 +02: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