Skip to content

Add Formatter support to generic collections [SPR-6504] #11170

@spring-projects-issues

Description

@spring-projects-issues

Daniel IfCore opened SPR-6504 and commented

I would like to have a Collection annotated with a formatter where the formatter will be applied to the elements of the collection.

Example:

@NumberFormat(pattern = "#,###.000")
private Collection<Double> values;

Affects: 3.0 RC3

Issue Links:

Referenced from: commits e161c93

Metadata

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