Closed jagregory closed 5 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 78.28%. Comparing base (
d963216
) to head (d9668fc
). Report is 3 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
If you have a type with exactly two options, neither of which is null, then the null-checking logic incorrectly uses the last item in the list as the type instead of
interface{}
.e.g.
"type": ["string", "boolean"]
becomes*bool
instead ofinterface{}
because the generation logic is assuming a two item type is only used when setting a type to null.