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

Fix serialization with DefaultStyle set to Flow (#70) #72

Merged
merged 1 commit into from
Feb 21, 2020

Conversation

yariker
Copy link

@yariker yariker commented Jan 14, 2020

It turned out that DefaultObjectSerializerBackend.GetStyle applied logic intended for primitive types only to all types (notice || !isPrimitiveElementType), thus completely overriding any DefaultStyle.

This is to fix that, and add a corresponding test.

@xoofx xoofx merged commit efc09a7 into xoofx:master Feb 21, 2020
@xoofx
Copy link
Owner

xoofx commented Feb 21, 2020

Thanks!

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