Error after migrating to automapper 8 #549
Answered
by
mhishambakr
mhishambakr
asked this question in
Q&A
-
I am migrating my nest app to automapper 8 and I have been getting this error
Here is the user profile
|
Beta Was this translation helpful? Give feedback.
Answered by
mhishambakr
May 23, 2023
Replies: 1 comment
-
The problem was that I was importing the User entity from another dependency that wasn't upgraded and was still using version 7. Once I updated nest mapper in my package it worked. The error comes specifically from mapper/classes package, and since it wasn't updated in my dependency, I got this error. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
mhishambakr
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The problem was that I was importing the User entity from another dependency that wasn't upgraded and was still using version 7.
Once I updated nest mapper in my package it worked.
The error comes specifically from mapper/classes package, and since it wasn't updated in my dependency, I got this error.