New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add BeanMapping#unmappedSourcePolicy
#3309
Labels
Milestone
Comments
filiphr
added
enhancement
good first issue
up-for-grabs
Issues targeted for community contribution
labels
Jun 16, 2023
Hi. Is this issue still available? I would like to have a go at this. |
venkatesh2090
added a commit
to venkatesh2090/mapstruct
that referenced
this issue
Jul 12, 2023
venkatesh2090
added a commit
to venkatesh2090/mapstruct
that referenced
this issue
Jul 12, 2023
venkatesh2090
added a commit
to venkatesh2090/mapstruct
that referenced
this issue
Jul 12, 2023
venkatesh2090
added a commit
to venkatesh2090/mapstruct
that referenced
this issue
Jul 29, 2023
venkatesh2090
added a commit
to venkatesh2090/mapstruct
that referenced
this issue
Jul 29, 2023
venkatesh2090
added a commit
to venkatesh2090/mapstruct
that referenced
this issue
Jul 30, 2023
venkatesh2090
added a commit
to venkatesh2090/mapstruct
that referenced
this issue
Jul 30, 2023
venkatesh2090
added a commit
to venkatesh2090/mapstruct
that referenced
this issue
Aug 1, 2023
filiphr
pushed a commit
that referenced
this issue
Aug 1, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Discussed in #3308
Originally posted by meilleureVie June 15, 2023
There is some case both BeanMapping#unmappedSourcePolicy and BeanMapping#unmappedTargetPolicy will be helpful.
let take an example of 2 class (class Student with more than 20 properties and StudentDto with 2 attributes just name and firstname)
So in our mapper we are looking for 2 methods :
For me, in order to achieve that goal and also take advantage of typesafe warning, it will be easier for me to do something like this :
But i don't know why BeanMapping#unmappedSourcePolicy does not exists ?
So i'm wondering why and also wondering if you plan another best way to achieve that goal.
thanks
Note: This is an easy issue, so if someone from the community is interested in working on this please let us know
The text was updated successfully, but these errors were encountered: