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

Remove JsonSchema trait bound #2201

Open
webmaster128 opened this issue Aug 7, 2024 · 0 comments
Open

Remove JsonSchema trait bound #2201

webmaster128 opened this issue Aug 7, 2024 · 0 comments
Milestone

Comments

@webmaster128
Copy link
Member

In many places we require message types to satisfy schemars::JsonSchema which is not ideal for three reasons:

  • We cannot replace the schemars library with a different JSN Schema generator if we have to
  • There is a use case in types that have no valid JSON Schema (like Never)
  • New schema format comming which will lead to a world in which JSON Schema compatibility becomes optional
@webmaster128 webmaster128 added this to the 3.0.0 milestone Aug 7, 2024
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

No branches or pull requests

1 participant