Skip to content

Validate VDOM Using JSON Schema #176

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

Closed
rmorshea opened this issue May 15, 2020 · 1 comment · Fixed by #308
Closed

Validate VDOM Using JSON Schema #176

rmorshea opened this issue May 15, 2020 · 1 comment · Fixed by #308
Assignees

Comments

@rmorshea
Copy link
Collaborator

The JSON schema from the docs should be used to validate VDOM returned by layouts. We can add it to the tests and create a mock the wraps the layout's render function so that it validates every output.

@rmorshea rmorshea self-assigned this May 15, 2020
@rmorshea
Copy link
Collaborator Author

We're using JSON patch now so no need to check diffing schema. Could still use this to check the VDOM spec though.

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.

1 participant