-
Notifications
You must be signed in to change notification settings - Fork 38
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
How to map multiple beans? #100
Comments
Hi, This is not supported by Selma for now. But you can define one mapping method per class to map on the targetted DTO. We can for sure implement this kind of aggregation, but that won't be available soon. |
i first did mapping from the first source to the destination and after that second source updates the destination. With setting ignore missing flag to ALL because it would tell that source does not have target fields otherwise. |
I have a class FooIn and an id that want to map to a class Out. public class Out {
I'd like to use a mapper as : Out asOut(FooIn foo, Long id); Doing so, I get this error : |
Hi
I have two classes and one dto. I want to map both classes to that dto. How to do that? I know how to map one class to dto but I need to do kind of "aggregation" of classes into one dto object. Is that possible?
The text was updated successfully, but these errors were encountered: