The method documentation seems to be wrong because of copy paste?

Offen
#1,755 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
2/5
Geschätzter Aufwand
1-3 Stunden
Anfängerfreundlichkeit
45/100
Issue-Typ
Dokumentation
Klarheit
Größtenteils klar
Aktivitätsstatus
Veraltet
Tech-Stack
typescript
Bereich
documentation

Rechercherichtung

Start by inspecting src/GraphRequest.ts at lines 493-502, which the issue identifies as containing incorrect method documentation. Compare the wording with the method implementation and surrounding documentation, then correct the copied text and verify that the documentation matches the method. The Promise concern is broader and is not scoped to a specific change here.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

It's quite obvious

https://github.com/microsoftgraph/msgraph-sdk-javascript/blob/82bbf8f95e32e868fd448306df2219cac6622722/src/GraphRequest.ts#L493C2-L502C3

Also, I am very disappointed that the responses from the graph client are typed Promise. This is not a good coding style

Vorherrschende Sprache
TypeScript
Sterne
833
Forks
240
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus microsoftgraph/msgraph-sdk-javascript

Alle Issues in microsoftgraph/msgraph-sdk-javascript

Ähnliche Issues

Weitere Issues zu TypeScript

Neue Issues direkt in Ihr Postfach

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