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

ajv only infers type for JSON Type Definition, not for JSON schema #835

Open
everhardt opened this issue Feb 7, 2022 · 0 comments
Open

Comments

@everhardt
Copy link

If I read the docs of ajv correctly, it only offers type inference for JSON Type Definition (using the JTDDataType type), but not for JSON schema.

The test case in this repo is using JSON schema though, and as such, AFAICT it does not meet the criteria of this benchmark, specifically that it does not cast to the right type.

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