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
This following is more of a question than an issue.
When trying to deduce a schema from a value, sequences with mixed types are specified with no items information, as shown in from_value.rs~json_value.json.
Any reason oneOf isn't used in such cases instead?
Granted, the values may be an instance of a tuple rather than a mixed-type array, but that seems like a private case of the more generic oneOf?
Thank you!
The text was updated successfully, but these errors were encountered:
Hi,
First of all, thanks for schemars!
This following is more of a question than an issue.
When trying to deduce a schema from a value, sequences with mixed types are specified with no items information, as shown in
from_value.rs~json_value.json
.Any reason oneOf isn't used in such cases instead?
Granted, the values may be an instance of a tuple rather than a mixed-type array, but that seems like a private case of the more generic oneOf?
Thank you!
The text was updated successfully, but these errors were encountered: