Skip to content
New issue

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

Support for serde_json::RawValue #149

Closed
luke-biel opened this issue Jun 10, 2022 · 4 comments · Fixed by #183
Closed

Support for serde_json::RawValue #149

luke-biel opened this issue Jun 10, 2022 · 4 comments · Fixed by #183

Comments

@luke-biel
Copy link
Contributor

It seems that there's no support for serde_json::value::RawValue, which seems a bit odd.

error[E0277]: the trait bound `serde_json::value::RawValue: JsonSchema` is not satisfied
    |
62  |         component: Box<RawValue>,
    |                    ^^^ the trait `JsonSchema` is not implemented for `serde_json::value::RawValue`
    |
    = note: required because of the requirements on the impl of `JsonSchema` for `Box<serde_json::value::RawValue>`
@ralpha
Copy link
Contributor

ralpha commented Jun 11, 2022

@ahl
Copy link
Contributor

ahl commented Jul 19, 2022

What would you expect that JSON schema to be for RawValue? Same as Value?

@luke-biel
Copy link
Contributor Author

@ahl Yes, my assumption is that it would work same as Value.

@gahag-cw
Copy link

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants