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 ajvKeywords and useDefaults as options #932

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

constanzaderienzo
Copy link

@constanzaderienzo constanzaderienzo commented Jun 19, 2024

As per this issue we are in need of custom keywords.

This pull request adds the support for that.

As the Ajv constructor already supports receiving keywords as options only the declaration for this ajvKeyword type is needed.

** UPDATE ** to stay backward compatible with Osprey we also need Ajv's useDefault in empty. Adding support for that as well.

@constanzaderienzo constanzaderienzo changed the title add ajv keywords add ajvKeywords and useDefaults as options Jul 2, 2024
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