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
After is called the mapper, i get a date as a string, as i wanted.
But 'id' property is undefined.
I must add 'forMember' function for 'id' property too.
Yes I'm getting the same result as you. However it only seems to occur in my testing environment (I use vitest). If I run it as normal transpiled javascript, it is fine and I don't need to specify the ()=>String
Is there an existing issue for this?
Describe the issue
After is called the mapper, i get a date as a string, as i wanted.
But 'id' property is undefined.
I must add 'forMember' function for 'id' property too.
Models/DTOs/VMs
Mapping configuration
Steps to reproduce
No response
Expected behavior
Value of 'id' property of TransformationAuditGetAllResponseDto should be mapped for 'id' property of TransformationAuditGetAllResponseState.
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.8.1
Additional context
typescript version : 5.3.3
The text was updated successfully, but these errors were encountered: