Closed MiloszFilimowski closed 2 years ago
Confirmed, it's in the devDependencies but not declared as a peerDependency since it's required at runtime https://github.com/nestjsx/nest-access-control/blob/95bbf21d34b7caf07a61dcbcca4ccbb3f37d4a00/src/decorators/user-roles.decorators.ts#L19
Sure, we can declare it as peer dependencies. I'd be happy to accept a Quick small PR to fix that!
Hi! The new change introduced here https://github.com/nestjsx/nest-access-control/pull/63 Breaks exisitng projects, I'd suggest maybe using inline require so that it's only imported if needed? My project doesn't use graphql and I don't feel like adding it just to satisfy my pipeline. Thanks!