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
I have some params inside extraArgs that can be used during map by other mapping rule.
Only the parent map is able to receive the extraArgs, the child of this map will not receive the params if someone use the mapWithArguments function.
Is there an existing issue for this?
Describe the issue
I have some params inside extraArgs that can be used during map by other mapping rule.
Only the parent map is able to receive the extraArgs, the child of this map will not receive the params if someone use the
mapWithArguments
function.Models/DTOs/VMs
Models
DTO
Mapping configuration
profile:
Steps to reproduce
with the above models, dto and mapping configuration, the call of the following function can reproduce the issue:
Expected behavior
extraArgs is inherited by all child that use the function
mapWithArguments
.with the steps above the expected result of map is:
Screenshots
No response
Minimum reproduction code
No response
Package
@automapper/core
@automapper/classes
@automapper/nestjs
@automapper/pojos
@automapper/mikro
@automapper/sequelize
Other package and its version
No response
AutoMapper version
8.7.6
Additional context
node v16
nestjs 9
The text was updated successfully, but these errors were encountered: