Skip to content

Add test to validate arbitrary JSON against xdr-json schemas - #647

Closed
leighmcculloch wants to merge 2 commits into
mainfrom
test-json-against-schemas
Closed

leighmcculloch wants to merge 2 commits into
mainfrom
test-json-against-schemas

Conversation

@leighmcculloch

Copy link
Copy Markdown
Member

What

Add a test that generates arbitrary values of every XDR type, serializes them to JSON, and validates them against the type's generated json schema.

Why

The existing test only checks that each schema loads, so nothing catches the crate emitting JSON that its own published schemas reject.

Known limitations

N/A

@leighmcculloch

Copy link
Copy Markdown
Member Author

Closing because it is being merged in:

auto-merge was automatically disabled November 23, 2026 12:29

Pull request was closed

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.

1 participant