You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I extend a @Mapper annotated interface with withIoC = IoC.SPRING, and then annotate the extended interface similarly, both are candidates for Autowiring.
Using withIoCServiceName allows me to specify which implementation is used with the @Qualifier annotation, but I feel it would be helpful to designate a generated implementation to have a @Primary annotation on the class (e.g. withIoCPrimary = true maybe?).
Let me know if that's clear enough or if you'd like a code example.
The text was updated successfully, but these errors were encountered:
If I extend a
@Mapper
annotated interface withwithIoC = IoC.SPRING
, and then annotate the extended interface similarly, both are candidates for Autowiring.Using
withIoCServiceName
allows me to specify which implementation is used with the@Qualifier
annotation, but I feel it would be helpful to designate a generated implementation to have a@Primary
annotation on the class (e.g.withIoCPrimary = true
maybe?).Let me know if that's clear enough or if you'd like a code example.
The text was updated successfully, but these errors were encountered: