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

Avoid root-level wrapping for Map-like types, not just Maps #220

Closed
wants to merge 1 commit into from
Closed

Avoid root-level wrapping for Map-like types, not just Maps #220

wants to merge 1 commit into from

Conversation

ruslansennov
Copy link

Custom map-like types is still wrapped (see this failed test)

@cowtowncoder
Copy link
Member

Quick question: what do you mean by "fixed #5"? It looks like this might fix issues with Scala Maps, but I want to make sure I understand the context, since I don't see new unit tests.

@ruslansennov
Copy link
Author

what do you mean by "fixed #5"?

My fail test shows these results of serialization to xml:

Java:
<xmlSerialize xmlns=""><transitType><key1>1</key1><key2>2</key2></transitType></xmlSerialize>
Javaslang:
<xmlSerialize xmlns=""><transitType><transitType><key1>1</key1><key2>2</key2></transitType></transitType></xmlSerialize>

So, I believe here we have the same problem like in #5

@cowtowncoder cowtowncoder changed the title wrapping map-like values fixed #5 Avoid root-level wrapping for Map-like types, not just Maps Feb 10, 2017
@cowtowncoder cowtowncoder added this to the 2.8.7 milestone Feb 10, 2017
cowtowncoder added a commit that referenced this pull request Feb 10, 2017
@cowtowncoder
Copy link
Member

Ok thanks! I did manual merge via 2.8 branch to get in 2.8.7; same fix.

@ruslansennov ruslansennov deleted the iss5-patch1 branch February 11, 2017 05:01
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