Affects: 2.2.3.RELEASE
I was using Spring boot to build a microservice.
I request a GET method through url:port/v2/api/user?limit=1&condition.name=AAA
, but my input DTO cannot parse condition.name
correctly.
When the condition in the DTO is a generic type, the class of condition
in PropertyHandler which the code run in AbstractNestablePropertyAccessor.processLocalProperty seems to be Object
, and the above error occurs.
And I try to change condition
to a specified java type, the framework could successfully parse condition.name
.
Could you help to check this situation and provide a usable processing method?
Comment From: snicoll
I am not sure that what you've described is what is happening. To know for sure, we need a small sample that reproduces the problem you've described. You can share it with us by attaching a zip or pushing the code to a GitHub repository.
Comment From: spring-projects-issues
If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed.
Comment From: spring-projects-issues
Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue.