Replies: 1 comment 6 replies
-
Context: I am just fixing my schemas after an API update that changed null to empty strings. The values are not strings, which makes matters worse, the null value was just replaced by "". I was adding |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I often see mismatched types mixing null and empty strings. We could make the error message differentiate between empty strings in those cases, since it can point to a clearer schema issue: a fix to the schema should be
literal("")
instead ofstring()
.Beta Was this translation helpful? Give feedback.
All reactions