Skip to content

Adding custom converter to Projection #2335

Open
@martashorak

Description

@martashorak

Hi,
in previous versions it was possible to register custom converter for proxy projections via shared instance:
https://github.com/spring-projects/spring-data-commons/blob/2.3.x/src/main/java/org/springframework/data/projection/ProxyProjectionFactory.java#L64

However in most recent version (2.4.x) it is not possible anymore as new instance is used instead of shared one. What is the correct way to register custom converter?

final static GenericConversionService CONVERSION_SERVICE = new DefaultConversionService();

Thank you
Martin

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions