and it doesn't seem to play together well, I get this error
/node_modules/reflect-metadata/Reflect.js:354 throw new TypeError();
TypeError
at Object.getMetadata (/node_modules/reflect-metadata/Reflect.js:354:23)
at Function.get (/node_modules/@nestjsx/crud/lib/crud/reflection.helper.js:18:23)
at Function.getOverrideRoute (/node_modules/@nestjsx/crud/lib/crud/reflection.helper.js:81:18)
at util_1.getOwnPropNames.forEach (/node_modules/@nestjsx/crud/lib/crud/crud-routes.factory.js:252:52)
at Array.forEach (<anonymous>)
at CrudRoutesFactory.overrideRoutes (/node_modules/@nestjsx/crud/lib/crud/crud-routes.factory.js:251:50)
at CrudRoutesFactory.create (/node_modules/@nestjsx/crud/lib/crud/crud-routes.factory.js:49:14)
at new CrudRoutesFactory (/node_modules/@nestjsx/crud/lib/crud/crud-routes.factory.js:19:14)
at Function.create (/node_modules/@nestjsx/crud/lib/crud/crud-routes.factory.js:22:16)
at /node_modules/@nestjsx/crud/lib/decorators/crud.decorator.js:5:44
I can't seem to figure out what might be causing this TypeError from Reflect-metadata but it seems to have something to do with a conflict with using the @Crud / @override decorators? Any ideas? Thanks
Hi, I am using the
@Crud
and@CrudAuth
decorators in my codeand I am using it in conjunction with the
@Client
decorator from@nestjs/microservices
and overriding the
getOneBase
routeand it doesn't seem to play together well, I get this error
/node_modules/reflect-metadata/Reflect.js:354 throw new TypeError();
I can't seem to figure out what might be causing this TypeError from Reflect-metadata but it seems to have something to do with a conflict with using the @Crud / @override decorators? Any ideas? Thanks