The MapStruct annotation processor currently enters an infinite recursion, leading to a java.lang.StackOverflowError, if a mapper interface mistakenly includes itself in its own @Mapper(uses = ...) ...
I am trying to map entity fields to the DTO in my code - Property storage can be either Location or Container (in GraphQL we used a union for it), but there is a problem with mapping using mapstruct.