Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

JsonValidator: mark preloadJsonSchema as default #445

Conversation

DaNizz97
Copy link
Contributor

@DaNizz97 DaNizz97 commented Sep 9, 2021

JsonValidator#preloadJsonSchema is not required so there is no point in forcing it to be implemented in each validator.

I came across the fact that I need to implement this method in my custom validator. It looks like this is not required, so let's mark it as the default value.

JsonValidator#preloadJsonSchema is not required so there is no point in
forcing it to be implemented in each validator.
@stevehu stevehu merged commit 58947aa into networknt:master Sep 11, 2021
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants