-
Notifications
You must be signed in to change notification settings - Fork 8
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
Weird behaviour on toJSON method #24
Labels
Comments
try with :
|
@danielbdias should we close this issue ? |
Please, @guisouza not yet, can you wait two more days? I will do one more test to simulate this error (and another to use your solution). |
No problem, take your time .. |
I can't simulate this error anymore. For now I think that is better to close this issue. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When you fill a child element with an invalid value toJSON method acts in a weird way. The parent
toJSON
returns the old child element and thetoJSON
of the child element returns the child element in the invalid state.For example, given the schema:
And the variables setup:
The
toJSON
method have this behaviour:The text was updated successfully, but these errors were encountered: