-
Notifications
You must be signed in to change notification settings - Fork 33
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
@DecoratedWith is not work with mapstruct-spring-extensions #116
Comments
Could you please provide an example project of what you're asking? What do you mean when you say the annotation doesn't work? Generally speaking, some of MapStruct's advanced features such as |
just see the attachment,this is a spring boot applicaiton, UserMapper is declared as a converter with @DecoratdWith class,when I use ConversionService to mapping,this class is not work.
在 2024-10-02 23:53:07,"Raimund Klein" ***@***.***> 写道:
Could you please provide an example project of what you're asking? What do you mean when you say the annotation doesn't work?
Generally speaking, some of MapStruct's advanced features such as @DecoratdWith clash with Spring's ConversionService. There are definitely cases where you want to avoid following the Converter pattern. This might be one.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Sorry, there's no attachment. |
send code zip again, if not receive, try to use this link demo1
在 2024-10-03 23:17:47,"Raimund Klein" ***@***.***> 写道:
just see the attachment,this is a spring boot applicaiton, UserMapper is declared as a converter with @DecoratdWith class,when I use ConversionService to mapping,this class is not work.
Sorry, there's no attachment.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Sorry, it looks like GitHub removes everything such as links and attachments from your emails. Could you please respond in the issue thread? |
I try to user mapstruct-spring-extensions to optimize my mapper,but find @DecoratedWith(xxxDecorator.class) is not work when user ConversionService.conver(object,xxx.class),this is a bug or I use is wrong way?
The text was updated successfully, but these errors were encountered: