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

Ensure XmlInclude types are included in serializer #1157

Merged
merged 1 commit into from
Nov 30, 2022

Conversation

glopesdev
Copy link
Member

This PR ensures that XML include types declared on any extension type are correctly included in the XML serializer.

Strangely, this seems to work automatically for serialization but not deserialization. Fortunately, it is easy to fix by querying types when they are first added to the set of extensions for any extra XML include types declared using XmlIncludeAttribute.

Fixes #1154

@glopesdev glopesdev added the fix Pull request that fixes an issue label Nov 22, 2022
@glopesdev glopesdev added this to the 2.7.2 milestone Nov 22, 2022
@glopesdev glopesdev merged commit 809d199 into bonsai-rx:main Nov 30, 2022
@glopesdev glopesdev deleted the issue-1154 branch November 30, 2022 21:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix Pull request that fixes an issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

XmlInclude attributes declared on extension types are not considered for deserialization
1 participant