Skip to content

Schema generation#178

Merged
SkymanOne merged 17 commits intomasterfrom
gn/json-schema
Apr 25, 2023
Merged

Schema generation#178
SkymanOne merged 17 commits intomasterfrom
gn/json-schema

Conversation

@SkymanOne
Copy link
Contributor

@SkymanOne SkymanOne commented Apr 22, 2023

This PR adds support for schema generation required for ink! metadata verification. All types are now derive schemars::JsonSchema under an optional feature flag schema

@SkymanOne SkymanOne requested a review from ascjones April 22, 2023 20:56
@SkymanOne SkymanOne requested a review from ascjones April 24, 2023 19:22
Copy link
Contributor

@ascjones ascjones left a 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

cargo check --no-default-features --features serde,decode
to test that feature on its own e.g. cargo check --no-default-features --features schema. At the moment that fails for me.

@SkymanOne SkymanOne requested a review from ascjones April 25, 2023 09:29
Copy link
Contributor

@ascjones ascjones left a 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 👍

@SkymanOne SkymanOne merged commit 62ac3d6 into master Apr 25, 2023
@SkymanOne SkymanOne deleted the gn/json-schema branch April 25, 2023 21:17
@SkymanOne SkymanOne mentioned this pull request Apr 26, 2023
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 this pull request may close these issues.

3 participants