Skip to content

Commit

Permalink
add omitempty config to example gqlgen.yml (#2880)
Browse files Browse the repository at this point in the history
Co-authored-by: Pavel Vasilenka <pvasilenka@mobalyticshq.com>
  • Loading branch information
PaulVasilenko and Pavel Vasilenka committed Jan 16, 2024
1 parent 32bdbdd commit f06f58b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions _examples/uuid/gqlgen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ resolver:
# Optional: wrap nullable input fields with Omittable
# nullable_input_omittable: true

# Optional: turn on `json:",omitempty"` tags on model types, default true
# enable_model_json_omitempty_tag: true

# Optional: set to speed up generation time by not performing a final validation pass.
# skip_validation: true

Expand Down

0 comments on commit f06f58b

Please sign in to comment.