Skip to content

SPI to configure the implementation name of generated Mappers  #3619

@zyberzebra

Description

@zyberzebra

Providing an SPI, where we will pass the configured implementatioName and the name of the class and then this SPI can provide us with the name that should be used in the generated code.
#3612 (comment)

Suggested solution/feature for the Problems as discussed in:

Discussed in #3612

Originally posted by zyberzebra May 25, 2024
Now we can do this:
@Mapper(implementationName = "MyCustomPrefix<CLASS_NAME>MyCustomSuffix")

For purposes of illustration you have interfaces like InterfaceCarMapper, InterfaceInventoryItemMapper and would like to be generated:
CarMapperImpl, InventoryItemMapperImpl

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions