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

Custom format validators now have access to the unprocessed properties #301

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

Conversation

jmfernandez
Copy link

There can be some use cases where a custom format validator requires
additional setup values in order to tweak its behaviour. So, now custom
format validator have access to the unprocessed properties in the
JSON Schema context where the subject is being evaluated.

Also, a test has been added to check the new feature

There can be some use cases where a custom format validator requires
additional setup values in order to tweak its behaviour. So, now custom
format validator have access to the unprocessed properties in the
JSON Schema context where the subject is being evaluated.
In order to keep backward compatibility, the new code has
been spread among AbstractFormatValidator, FormatValidator and
ContextualFormatValidator
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.

None yet

1 participant