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
#status code
5 messages · Page 1 of 1 (latest)
Without any additional details, I'm wondering if it could be the same underlying problem with reflect-metadata as here https://github.com/nestjs/nest/issues/13146
complete crud is working fine but when i'm using @UseGuard() there I'm getting issue
Can you show the implementation of your SecureGuard?
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?