publicissapient-france/selma

Can not build mapper when using @Mapper on nested class

xelex opened this issue · 1 comments

xelex commented

For example:

interface Wrapper {
  @Mapper
  interface FooBar {
    Foo fromBar(Bar bar);
  }
}

And, as a result, the following core will not be able to find the generated mapper implementation:

Selma.builder(Wrapper.FooBar.class).build();

Hi this is definitely a bug.
I'll fix it quickly.

Sorry for delay