github / github/codeql

How do we use the NestJS framework classes?

Offen
#21,233 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
question
Vorherrschende Sprache
CodeQL
Sterne
10.1k
Forks
2.1k
Ø Merge
2 T. 15 Std.
Gemergte PRs (30 T.)
141

Beschreibung

The [NestJS framework classes](https://github.com/github/codeql/blob/main/javascript/ql/lib/semmle/javascript/frameworks/Nest.qll) such as `NestJSRouteHandler` and `NestJSRequestInput` are private within the `NestJS` module. Other framework classes (e.g. NextJS) are public, allowing them to be used in custom queries. Is this an oversight, or is there another way to consume those classes?

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Start with semmle/javascript/frameworks/Nest.qll and inspect the private NestJSRouteHandler and NestJSRequestInput classes, then compare how the public NextJS framework classes are exposed. Done means determining whether the visibility is intentional and documenting or identifying the supported way to consume these classes.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
javascript
Bereich
security
Issue-Typ
Dokumentation
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
25/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.