-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
Package: nestjsIssues related to the Sentry Nestjs SDKIssues related to the Sentry Nestjs SDK
Description
https://docs.nestjs.com/guards
Solution: According to the docs guards are annotated with @Injectable
and implement a canActivate
method. So we can use that to hook into the framework.
Limitation: Although the nest docs say that guards should always have an @Injectable
decorator, guards work just fine without it unless it has dependencies on other services.
Metadata
Metadata
Assignees
Labels
Package: nestjsIssues related to the Sentry Nestjs SDKIssues related to the Sentry Nestjs SDK