Skip to content

Fix to handle singleton lists with ListDecodingStrategy.#4

Merged
rafiki270 merged 1 commit intomasterfrom
singletonList
Aug 11, 2018
Merged

Fix to handle singleton lists with ListDecodingStrategy.#4
rafiki270 merged 1 commit intomasterfrom
singletonList

Conversation

@tachyonics
Copy link
Copy Markdown
Collaborator

Singleton lists are presented to XMLUnkeyedDecodingContainer slightly differently. Handle this difference when using ListDecodingStrategy.collapseListUsingItemTag. Added unit test to verify this edge case.

Copy link
Copy Markdown

@rafiki270 rafiki270 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is awesome man!

@rafiki270 rafiki270 merged commit 4a53225 into master Aug 11, 2018
@rafiki270 rafiki270 deleted the singletonList branch August 11, 2018 07:43
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.

2 participants