Skip to content

Extending abstract class does not expose parameter annotations #25788

Closed
@couryrr

Description

I am on version 2.3.4.RELEASE and am seeing the same issue identified here #24127 except for abstract classes.

Here is the abstract class with the @RequestBody annotation:

image

Here is the extended class without the annotation:

image

Postman showing the data being sent in but returning nulls in the object:

image

If I move the @RequestBody annotation to the class that extends this works. Likewise if I make the abstract class an interface and do not provide the @RequestBody annotation it works as well.

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions