Minimal sample application: https://github.com/fangzhengjin/spring-framework-issues-34386
Start the program and execute the request below.
Observe the input arguments to the com.example.demo.IQueryController#test method.
curl -X POST 'localhost:8080/test' -H 'Content-Type: application/json' -d '{"data":{"name":"test"}}'
This problem occurs when the generic names declared by IQueryController and ICrudController are inconsistent in the example project.
Expected behavior:
public interface IQueryController<Entity>
public interface ICrudController<Entity> extends IQueryController<Entity>
Unexpected behavior:
public interface IQueryController<QueryParam>
public interface ICrudController<Entity> extends IQueryController<Entity>
6.2.x


6.1.x


Minimal sample application: https://github.com/fangzhengjin/spring-framework-issues-34386
Start the program and execute the request below.
Observe the input arguments to the
com.example.demo.IQueryController#testmethod.This problem occurs when the generic names declared by IQueryController and ICrudController are inconsistent in the example project.
Expected behavior:
Unexpected behavior:
6.2.x
6.1.x