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 upgrading Automapper to v8 and fixing all the breaking changes, my application is returning error of maximum call stack size at ApplyMetaData.
My jest unit tests are also not running and returning mapping between class A and class B cannot be found error even though there are mappings present and injected as well.
See image below of the code.
The mapper returned by the createMapper is not actually the empty proxy and produces the below error when running tests.
Models/DTOs/VMs
No response
Mapping configuration
No response
Steps to reproduce
No response
Expected behavior
It should return the mapper instance and not give maximum call stack error and should get the mapping as defined.
Screenshots
No response
Minimum reproduction code
No response
Package
I don't know.
@automapper/core
@automapper/classes
@automapper/nestjs
@automapper/pojos
@automapper/mikro
@automapper/sequelize
Other (see below)
Other package and its version
No response
AutoMapper version
8.7.7
Additional context
Linux
Node v14.18.1
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
Describe the issue
After upgrading Automapper to v8 and fixing all the breaking changes, my application is returning error of maximum call stack size at ApplyMetaData.
My jest unit tests are also not running and returning
mapping between class A and class B cannot be found
error even though there are mappings present and injected as well.See image below of the code.
The mapper returned by the createMapper is not actually the empty proxy and produces the below error when running tests.
Models/DTOs/VMs
No response
Mapping configuration
No response
Steps to reproduce
No response
Expected behavior
It should return the mapper instance and not give maximum call stack error and should get the mapping as defined.
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.7
Additional context
Linux
Node v14.18.1
The text was updated successfully, but these errors were encountered: