Skip to content

@Mapper(componentModel = "spring") doesn't support custom name for Spring Service Annotation #1427

@zurbergram

Description

@zurbergram

Can't specify a name for the Spring Service annotation
If the interface definition something like

@Mapper(componentModel = "spring", componentModelName = "cakeMapperV2")
 public interface CakeMapper{
     Cake map(Cupcake cupcake);
 }

 @Service("cakeMapperV2")
 public class CakeMapperImpl {
 }

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions