I ran into a problem with POJO classes that implement a generic interface. Basically, the getDeclaredMethods function used in PojoBuilderHelper returns signatures for both the generic property type and the actual property type and then it gets upset because it thinks there are two methods with the same name and different types. I've attached a minimal example that demonstrates this issue. Unfortunately, due to JAVA-2620, adding @BsonIgnore to the property/methods in question doesn't fix this.
- related to
-
JAVA-2620 @BsonIgnore doesn't prevent PojoBuilderHelper.configureClassModelBuilder from calling getTypeData on ignored fields
- Closed