Groups
Groups
Sign in
Groups
Groups
mapstruct-users
Conversations
About
Send feedback
Help
mapstruct-users
Contact owners and managers
1–30 of 266
Welcome to the MapStruct user group! This used to be the place for questions and discussions for the
MapStruct
bean mapping generator and discuss its development. We have moved this to
GitHub Discussions
Mark all as read
Report group
0 selected
Filip Hrisafov
2
6/1/20
Announcement
MapStruct 1.4.0.Beta1 is released
And of course out of all the excitement I put the wrong link for the release blog :). The release
unread,
Announcement
MapStruct 1.4.0.Beta1 is released
And of course out of all the excitement I put the wrong link for the release blog :). The release
6/1/20
Rich MacDonald
3/2/23
@InheritConfiguration method lookup through the @Mapper(uses) field?
The documentation states that @InheritConfiguration method lookup is "in the current mapper, a
unread,
@InheritConfiguration method lookup through the @Mapper(uses) field?
The documentation states that @InheritConfiguration method lookup is "in the current mapper, a
3/2/23
Rich MacDonald
2
11/3/21
Feedback on new mapping-map-to-bean feature
//Example test class public class TestTarget { public int myIntPrim; public Integer myInteger; public
unread,
Feedback on new mapping-map-to-bean feature
//Example test class public class TestTarget { public int myIntPrim; public Integer myInteger; public
11/3/21
Baptiste Pernet
10/21/21
IterableMapping with additional shared value
Hello, I wanted to run this problem by the community to see what's the best way of doing this.
unread,
IterableMapping with additional shared value
Hello, I wanted to run this problem by the community to see what's the best way of doing this.
10/21/21
Olufemi Oyenusi
2
9/16/21
Consider defining a bean of type ''FooMapper" in your configuration
I also want to clarify that I am in fact using @Mapper(componentModel = "spring"), that
unread,
Consider defining a bean of type ''FooMapper" in your configuration
I also want to clarify that I am in fact using @Mapper(componentModel = "spring"), that
9/16/21
DESHAYES Laurent
,
Filip Hrisafov
3
6/28/21
ignore superclass
Hey, I would suggest opening an issue in our issue tracker for this. While doing that I would suggest
unread,
ignore superclass
Hey, I would suggest opening an issue in our issue tracker for this. While doing that I would suggest
6/28/21
andrea.be...@gmail.com
4/8/21
Use @DecoratedWith in a @MapperConfig interface/class
As described in the reference guide, is possible to define a shared configuration, so all mappers
unread,
Use @DecoratedWith in a @MapperConfig interface/class
As described in the reference guide, is possible to define a shared configuration, so all mappers
4/8/21
Baron MG
3/25/21
getters with different type not mapping.
hi guys, mapstruct cannot seem to find method annotated with @Named unwrap @Data //domain public
unread,
getters with different type not mapping.
hi guys, mapstruct cannot seem to find method annotated with @Named unwrap @Data //domain public
3/25/21
Jeroen van Wilgenburg
,
Filip Hrisafov
2
2/27/21
Conventions of parameter order in annotations
Hey Jeroen, Our convention is to put the target first and then the source. If we have an
unread,
Conventions of parameter order in annotations
Hey Jeroen, Our convention is to put the target first and then the source. If we have an
2/27/21
Pierpaolo Piccoli
,
Stanislav Spiridonov
3
2/24/21
How use mapStruct in Eclipse stand alone. without maven or gradle or ant
hi, thanks for your reply, i've resolved using java 8 regards Paolo Il giorno mercoledì 24
unread,
How use mapStruct in Eclipse stand alone. without maven or gradle or ant
hi, thanks for your reply, i've resolved using java 8 regards Paolo Il giorno mercoledì 24
2/24/21
Baron MG
,
Stanislav Spiridonov
2
2/24/21
Questions on Mapstructs.
Hi, 1. Optional<String> -> String - you need to define a custom method 2. int -> String -
unread,
Questions on Mapstructs.
Hi, 1. Optional<String> -> String - you need to define a custom method 2. int -> String -
2/24/21
Philipp Ludewig
,
Stanislav Spiridonov
4
2/17/21
Injecting Dependency in Mapper
Hi, 1. Simple test - new MyMapperImpl() + mappers custom method (inside MyMapper) check if
unread,
Injecting Dependency in Mapper
Hi, 1. Simple test - new MyMapperImpl() + mappers custom method (inside MyMapper) check if
2/17/21
Erlend Garåsen
12/10/20
Skipping null values in @BeanMapping (nullValuePropertyMapping is missing)
The documentation is mentioning a nullValuePropertyMapping, but it does not exist for @BeanMapping.
unread,
Skipping null values in @BeanMapping (nullValuePropertyMapping is missing)
The documentation is mentioning a nullValuePropertyMapping, but it does not exist for @BeanMapping.
12/10/20
joyce mazumder
11/7/20
using QualifiedName in place of Expression
Hi I have a ProductUtil class which contains getProductType(ProductRequest request) method.
unread,
using QualifiedName in place of Expression
Hi I have a ProductUtil class which contains getProductType(ProductRequest request) method.
11/7/20
Baptiste Pernet
10/29/20
MapperConfig from another jar with multiple arguments
Hello, I wonder if someone else encountered the same issue when using @MapperConfig from another jar
unread,
MapperConfig from another jar with multiple arguments
Hello, I wonder if someone else encountered the same issue when using @MapperConfig from another jar
10/29/20
Tin Nit
10/26/20
How to make MapStruct in a custom dependency and use it for different projects?
Hi, I'm new to MapStruct and like it so much, it's amazing to handle dto mapping. Now i want
unread,
How to make MapStruct in a custom dependency and use it for different projects?
Hi, I'm new to MapStruct and like it so much, it's amazing to handle dto mapping. Now i want
10/26/20
Nick Tinnemeier
,
Filip Hrisafov
4
10/22/20
Default value for secondary (and subsequent) source parameters - bug or feature request?
Hey Nich, I think that it is a good idea to share your workarounds in the tickets. Maybe it will help
unread,
Default value for secondary (and subsequent) source parameters - bug or feature request?
Hey Nich, I think that it is a good idea to share your workarounds in the tickets. Maybe it will help
10/22/20
sebastien rodrigues
, …
Filip Hrisafov
3
10/19/20
Eclipse gradle springboot run issue
Hey, I think that you asked the same question in our Gitter Room as well. I will say here what I said
unread,
Eclipse gradle springboot run issue
Hey, I think that you asked the same question in our Gitter Room as well. I will say here what I said
10/19/20
Stefan Hoffmeister
10/5/20
Annotating @Mapping with "not handled here"?
Hello everybody, I recently discovered MapStruct (1.3.1, now 1.4.0) and have applied this, over the
unread,
Annotating @Mapping with "not handled here"?
Hello everybody, I recently discovered MapStruct (1.3.1, now 1.4.0) and have applied this, over the
10/5/20
Filip Hrisafov
10/4/20
MapStruct 1.4.0.Final is released
It is my pleasure to announce that the MapStruct 1.4.0.Final has been released. You can read more
unread,locked,
MapStruct 1.4.0.Final is released
It is my pleasure to announce that the MapStruct 1.4.0.Final has been released. You can read more
10/4/20
jacob...@gmail.com
2
9/17/20
ObjectFactory not used in when using MappingTarget
So not sure if this is a bug or not. For my update mapping I hinted to ignore 1 attribute of entityB.
unread,
ObjectFactory not used in when using MappingTarget
So not sure if this is a bug or not. For my update mapping I hinted to ignore 1 attribute of entityB.
9/17/20
Alexey Zverev
,
Filip Hrisafov
2
8/30/20
Generation in 1.4.0
Hey Alex, Which version is this? Can you please try with 1.4.0.CR1? We did some fixes around this
unread,
Generation in 1.4.0
Hey Alex, Which version is this? Can you please try with 1.4.0.CR1? We did some fixes around this
8/30/20
Alexey Zverev
,
Stanislav Spiridonov
2
7/19/20
Immutable constructor
Hi, The latest release (1.3.1) supports immutable objects only with builders. Support for
unread,
Immutable constructor
Hi, The latest release (1.3.1) supports immutable objects only with builders. Support for
7/19/20
shwetag...@gmail.com
7/17/20
Detecting modified nodes in a POJO
I am using mapstruct 1.3.1-FINAL and mapping 2 complex custom objects - Employee "source"
unread,
Detecting modified nodes in a POJO
I am using mapstruct 1.3.1-FINAL and mapping 2 complex custom objects - Employee "source"
7/17/20
Veit Guna
, …
Tobse Fritz
5
7/6/20
Mapping metadata information
We also had the problem to access the Mapping Annotations at runtime. We use MapStruct between a
unread,
Mapping metadata information
We also had the problem to access the Mapping Annotations at runtime. We use MapStruct between a
7/6/20
O'Neil Blake
6/15/20
Help and Advice for Mapping multiple source as lists
Hi All, I might be thinking about this all wrong but I don't seem to be able to find ANY example
unread,
Help and Advice for Mapping multiple source as lists
Hi All, I might be thinking about this all wrong but I don't seem to be able to find ANY example
6/15/20
Christian
5/23/20
Re: [mapstruct-users] Can't generate mapping method from non-iterable type to iterable type. - Error
Hi Priya, as the error said, you can't map from a non-iterable to a List. Could you give a short
unread,
Re: [mapstruct-users] Can't generate mapping method from non-iterable type to iterable type. - Error
Hi Priya, as the error said, you can't map from a non-iterable to a List. Could you give a short
5/23/20
Kurt Guenther
,
Christian
3
2/13/20
Support for Value Objects
Hi Kurt, Instantiation via constructor arguments is not yet supported, but with version 1.3 builder-
unread,
Support for Value Objects
Hi Kurt, Instantiation via constructor arguments is not yet supported, but with version 1.3 builder-
2/13/20
István Mészáros
,
Filipe Sousa
2
2/13/20
MapStruct 1.4 Schedule
👍 On Tuesday, January 21, 2020 at 12:35:33 PM UTC, István Mészáros wrote: Hi all, is there a planned
unread,
MapStruct 1.4 Schedule
👍 On Tuesday, January 21, 2020 at 12:35:33 PM UTC, István Mészáros wrote: Hi all, is there a planned
2/13/20
Durgadas Kamath
1/23/20
Conditional Mapping
Is it possible to map fields only if certain expression is met ? What are the approaches ? For eg
unread,
Conditional Mapping
Is it possible to map fields only if certain expression is met ? What are the approaches ? For eg
1/23/20
Kurt Guenther
,
Gunnar Morling
2
1/20/20
Deep Copy of Objects
Hi, It depends a bit on what exactly you mean by "deep copy", but MapStruct definitely
unread,
Deep Copy of Objects
Hi, It depends a bit on what exactly you mean by "deep copy", but MapStruct definitely
1/20/20