This repository was archived by the owner on Dec 31, 2024. It is now read-only.
This repository was archived by the owner on Dec 31, 2024. It is now read-only.
Pojo encoder not considered the super class attributes. #75
Open
Description
Hello Feign team,
The pojo encoder is not considering the base class fields.
We could restrict it till Object.
While looking into feign form code, we have come across the PojoUtil.java.
There is a method called "toMap() which will convert pojo to respective map objects.
The reflection uses the "getDeclaredFields()" which will give only current class attributes only. Hence the base class attributes will be missed out during the map conversion.
So please consider the base class attributes as well in the encoder.
Thanks for your Time,
Maria Sekar
Metadata
Metadata
Assignees
Labels
No labels