You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We currently fall back to string type as a failsafe whenever we get a type we can't type properly. For cases where the field is defined as anyOf(string, object), aka type = ["string", "object"] or type = ["null", "string", object"], we are considering changing the behavior so that the value would be stored in a JSON-like field, such as JSON or VARIANT.
These JSON-like types are capable of holding "bare" string values as well as other variant data.
The text was updated successfully, but these errors were encountered:
Related to issues discovered during work on these PRs:
TypeError
"unhashable type list" (2nd pass) #251anyOf(string, object)
by casting toobject
/JSON
/VARIANT
#246We currently fall back to string type as a failsafe whenever we get a type we can't type properly. For cases where the field is defined as
anyOf(string, object)
, akatype = ["string", "object"]
ortype = ["null", "string", object"]
, we are considering changing the behavior so that the value would be stored in a JSON-like field, such asJSON
orVARIANT
.These JSON-like types are capable of holding "bare" string values as well as other variant data.
The text was updated successfully, but these errors were encountered: