request types for type-safe requests

Offen
#634 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
35/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Veraltet
Tech-Stack
typescript
Bereich
api

Rechercherichtung

Start by examining how the repository defines response payload types, using MeetingTimeSuggestionsResult as the example in the issue. Check the Microsoft Graph metadata for findMeetingTimes to identify the corresponding request shape. Done means request payload types are available for type checking and code completion; the issue does not name files or tests, so first locate the existing type definitions and their validation tests.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

status:waiting-for-triage type:feature
Is your feature request related to a problem? Please describe the problem.

I want to make my request payloads properly with code completion and type checking but from what I can tell there is only types for response payloads but not request payloads.

Describe the solution you'd like.

Types for request payloads to compliment the response payload types.

Additional context?

e.g. I can use MeetingTimeSuggestionsResult but there's no FindMeetingTimes type to help in constructing/type-checking the request payload.

https://graph.microsoft.com/v1.0/$metadata#microsoft.graph.findMeetingTimes

Vorherrschende Sprache
PowerShell
Sterne
129
Forks
35
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Entwicklungsumgebung

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-typescript-typings

Alle Issues in microsoftgraph/msgraph-typescript-typings

Ähnliche Issues

Weitere Issues zu Backend & API Design

Neue Issues direkt in Ihr Postfach

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