-
Notifications
You must be signed in to change notification settings - Fork 26
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
Schema generation #178
Schema generation #178
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add a line here
scale-info/.github/workflows/rust.yml
Line 45 in ce21de5
cargo check --no-default-features --features serde,decode |
cargo check --no-default-features --features schema
. At the moment that fails for me.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Should be good to be a minor (non-breaking) release 👍
This PR adds support for schema generation required for ink! metadata verification. All types are now derive
schemars::JsonSchema
under an optional feature flagschema