Skip to content
This repository has been archived by the owner on Jan 22, 2019. It is now read-only.

FluentIterable serialization doens't work for Bean Properties #58

Merged
merged 3 commits into from
Dec 3, 2014

Conversation

christophercurrie
Copy link
Member

In the depths of BeanPropertyWriter, the JavaType for the property is constructed, but Type Modifiers don't get called on it, so the Type Modifier in this module doesn't help.

This fix explicitly handles the issue by using StdDelegatingDeserializer, which looks up the delegate deserializer using the static type of the delegate.

FWIW, I'd have rather just located and returned and instance of IterableSerializer, but there doesn't seem to be a clean way to do that in Serializers#findSerializer.

cowtowncoder added a commit that referenced this pull request Dec 3, 2014
FluentIterable serialization doens't work for Bean Properties
@cowtowncoder cowtowncoder merged commit cbe03c3 into 2.4 Dec 3, 2014
cowtowncoder added a commit that referenced this pull request Dec 30, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants