Replies: 1 comment
-
This is an issue (#187 ) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In 0.86.0, the following code:
will result in an error:
This makes sense to me, and is long-standing behavior - the tag specified in
@SerialName
doesn't match the tag in the XML.However, in 0.86.1 (or 0.86.2), parsing succeeds as
TestB(data=true)
.Is it expected that parsing should work even if the root tag is wrong? I looked at the 0.86.1 release notes and didn't see anything that obviously corresponded to such a behavior change.
Beta Was this translation helpful? Give feedback.
All reactions