GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Instrumentation of NestJS guards · Issue #13078 · getsentry/sentry-javascript

Instrumentation of NestJS guards #13078

New issue
Copy link
New issue
Copy link
Closed
#13129
Closed
Instrumentation of NestJS guards#13078
#13129
Copy link
Assignees
nicohrubec

Description

@nicohrubec
nicohrubec
opened on Jul 29, 2024
Issue body actions

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.

Activity

  1. nicohrubec
    self-assigned this
    on Jul 29, 2024
  2. nicohrubec
    added
    Package: nestjs
    on Jul 29, 2024
  3. nicohrubec
    linked a pull request that will close this issuefeat(nestjs): Automatic instrumentation of nestjs guards #13129on Jul 31, 2024
  4. nicohrubec
    closed this as completedin #13129on Jul 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @nicohrubec
    nicohrubec

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.