github / github/codeql

How do we use the NestJS framework classes?

Ouverte
#21,233 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub
question
Langage dominant
CodeQL
Étoiles
10.1k
Forks
2.1k
Merge moyen
2 j 15 h
PR mergées (30 j)
141

Description

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?

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
javascript
Domaine
security
Type d'issue
Documentation
Difficulté
4/5
Temps estimé
3-5 jours
Activité
À l'abandon
Clarté
À clarifier
Accessibilité débutants
25/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.