Skip to content

Log warning when param is not annotated with @ProjectedPayload #3300

Open
@onobc

Description

@onobc

Introduce a warning log if a parameter is not annotated with @ProjectedPayload that this style is deprecated and that we will drop support for projections if a parameter is not annotated with @ProjectedPayload.

Also, add this detail to "Deprecations" section of docs/release notes.

Note

Implementation notes:

  • Avoid log spamming: only log the warning once per param (or maybe drop down from warn to debug)
  • Allow users to disable the logging via the typically logging config

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions