ImmutableRangeSet
fails to deserialize without explicit deserializer
#117
Labels
2.16
good first issue
Issue that seems easy to resolve and is likely a good candidate for contributors new to project
guava
Milestone
Any concrete
ImmutableRangeSet<T>
type fails to deserialize out of the box using theGuavaDeserializers
.Only when explicitly setting
@JsonDeserialize(using = RangeSetDeserializer.class)
on the field does it work correctly.Problem seems to be in the GuavaDeserializers.java. This should check for
RangeSet.class.isAssignableFrom(type.getRawClass())
instead 🤞The text was updated successfully, but these errors were encountered: