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

Prevent from throwing an exception when setting default values #561

Merged

Conversation

josejulio
Copy link
Contributor

  • this happens when an expected object has a different type
    i.e. a string.
  • This is prevented by checking the type of the node before
    attemping to set the defaults

 - this happens when an expected object has a different type
   i.e. a string.
 - This is prevented by checking the type of the node before
   attemping to set the defaults
@stevehu stevehu merged commit 39cc79b into networknt:master Apr 25, 2022
@stevehu
Copy link
Contributor

stevehu commented Apr 25, 2022

@josejulio Thanks a lot for your help.

@josejulio josejulio deleted the prevent-exception-when-setting-defaults branch April 26, 2022 12:21
@josejulio
Copy link
Contributor Author

@josejulio Thanks a lot for your help.

Thank you!

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

2 participants