#status code

5 messages · Page 1 of 1 (latest)

slender anchor
#

Using this typeorm configuration migration, and queries are also happening but I'm not able to use useGuard, when trying to use UseGuard decorator that time repository getting "EntityMetadataNotFoundError: No metadata for "User" was found." this error but at the same time when I'm using without useGuard decorator not getting any error. Please help me out in this issue

topaz bobcat
slender anchor
topaz bobcat
#

Can you show the implementation of your SecureGuard?

slender anchor
#

when I'm trying to validate the user using this validate method where i have used userRepository then getting this error "EntityMetadataNotFoundError: No metadata for "User" was found." but when i comment the useGuard decorator then APIs are working fine. so the question is when trying to hit API without decorator it is working properly there also i have used repository then what is missing with that decorator?