Change Prefix of Implementation class #3612
Replies: 2 comments 2 replies
-
|
@zyberzebra I'm not fond of adding things such as However, I would be open to providing an SPI, where we will pass the configured Having said that, having something like |
Beta Was this translation helpful? Give feedback.
-
|
Created an Issue/Feature Request |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Now we can do this:
@Mapper(implementationName = "MyCustomPrefix<CLASS_NAME>MyCustomSuffix")For purposes of illustration you have interfaces like
InterfaceCarMapper,InterfaceInventoryItemMapperand would like to be generated:CarMapperImpl,InventoryItemMapperCould we add the possibility to trim or replace leading or trailing characters?
I'm not sure how a good implementation of that feature could look like, but it would be really nice!
Beta Was this translation helpful? Give feedback.
All reactions