Skip to content

Introduce ConverterContext and clean up MappingCassandraConverter  #1097

@mp911de

Description

@mp911de

To simplify customization of MappingCassandraConverter, we should introduce a strategy object that encapsulates decision paths invoking simple and container conversion. Simple conversion maps to simple types. Container conversion applies conversion for lists, maps, and entities.

We also should cleanup the converter to align method signatures of the individual converter methods, reorder methods and revisit the converter surface.

Related ticket: spring-projects/spring-data-mongodb#3571

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions