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

Add ajv-formats when a schema is used #144

Merged
merged 1 commit into from
Feb 12, 2021
Merged

Add ajv-formats when a schema is used #144

merged 1 commit into from
Feb 12, 2021

Conversation

ezzatron
Copy link
Contributor

This PR fixes #140 by adding a dependency on ajv-formats, and adding the formats to the Ajv instance used to validate configs against the schema option.

A test has been added to catch the issue, and I don't think any documentation changes are necessary since the README already claims that it's possible to use AJV's formats.

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.

Lost ability to use "date-time" format in JSON Scheme (version 7.0.0)
2 participants