You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice to have the ability to intercept the final result of a mapping in order to apply some post mapping logics.
For example :
@Maps(withCustoms = {MyInterceptor.class})
DTO asDTO(Entity in)
class MyInterceptor {
DTO intercept(Entity in, DTO out) {
// Do some post mapping treatment, as conditionnal field aggregation for example
return out;
}
}
The text was updated successfully, but these errors were encountered:
Hi !
It would be nice to have the ability to intercept the final result of a mapping in order to apply some post mapping logics.
For example :
The text was updated successfully, but these errors were encountered: