request types for type-safe requests

Aperta
#634 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
typescript
Ambito
api

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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

Lingua principale
PowerShell
Stelle
129
Fork
35
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di microsoftgraph/msgraph-typescript-typings

Tutte le issue di microsoftgraph/msgraph-typescript-typings

Issue simili

Altre issue su Backend & API Design

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.