I'm trying to make a mapping to a generic type, but I'm having this problem:
error: Can't generate mapping method for a generic type variable source. A map(M baseAccountMongo);
code:
public interface AccountMapper<A extends BaseAccount, M extends BaseAccountMongo> {
AccountMapper INSTANCE = Mappers.getMapper( AccountMapper.class );
A map(M baseAccountMongo);
}
do you have any solution for this?