We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In the current implementation at https://github.com/GREsau/schemars/blob/386e3d7f5ac601795fb4e247291bbef31512ded3/schemars/src/json_schema_impls/maps.rs only the V type is used, but K type is ignored.
V
K
For example, HashMap<u32, String> gets a schema {'type': 'object', 'additionalProperties': {'type': 'string'}}, and u32 type is not reflected in it.
HashMap<u32, String>
{'type': 'object', 'additionalProperties': {'type': 'string'}}
u32
Downstream issue discussion is at deltachat/deltachat-core-rust#4602 (comment)
The text was updated successfully, but these errors were encountered:
kind
propertyNames
Successfully merging a pull request may close this issue.
In the current implementation at https://github.com/GREsau/schemars/blob/386e3d7f5ac601795fb4e247291bbef31512ded3/schemars/src/json_schema_impls/maps.rs only the
V
type is used, butK
type is ignored.For example,
HashMap<u32, String>
gets a schema{'type': 'object', 'additionalProperties': {'type': 'string'}}
, andu32
type is not reflected in it.Downstream issue discussion is at deltachat/deltachat-core-rust#4602 (comment)
The text was updated successfully, but these errors were encountered: