Closed 8gian closed 1 year ago
Struct fields in Go can be annotated with json:"-" to be omitted from the JSON representation. Because these fields are omitted upon converting to JSON, they should also be omitted from the zod schema.
json:"-"
Struct fields in Go can be annotated with
json:"-"
to be omitted from the JSON representation. Because these fields are omitted upon converting to JSON, they should also be omitted from the zod schema.