Skip to content

Avoid NPE in AdditionalPropertiesValidator #424

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

Merged
merged 1 commit into from
Jul 9, 2021

Conversation

flozano
Copy link
Contributor

@flozano flozano commented Jul 9, 2021

additionalPropertiesSchema can be null by some code paths, but preloadJsonSchema assumes it's always non-null.

additionalPropertiesSchema can be null by some code paths, but preloadJsonSchema assumes it's always non-null.
@stevehu stevehu merged commit d3c9376 into networknt:master Jul 9, 2021
@stevehu
Copy link
Contributor

stevehu commented Jul 9, 2021

@flozano Thanks a lot for your help.

@stevehu
Copy link
Contributor

stevehu commented Jul 9, 2021

#423

@flozano
Copy link
Contributor Author

flozano commented Jul 9, 2021

this issue was the last one preventing me from using latest version (stuck with 1.0.48). Do you plan to release it soon?

@stevehu
Copy link
Contributor

stevehu commented Jul 9, 2021

https://github.com/networknt/json-schema-validator/releases/tag/1.0.57

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.

2 participants