Enabling the requesting object to be logged out either via debug or in error object

Aperta
#457 1 commento 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

Direzione di ricerca

Start by tracing LargeFileUploadTask.createUploadSession to GraphRequest.send and review how debug output and error responses are currently produced. Compare the two requested approaches for exposing the generated request object, then verify that the chosen behavior makes malformed-request troubleshooting possible without editing compiled library code.

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

Descrizione

enhancement P2 request: feature

Feature Request

Is your feature request related to a problem? Please describe

Whilst troubleshooting using the Large File request I kept getting a message indicating that the message was malformed. However, because I running my app in Node (console-based app) there was no way for me to meaningfully take the request object being generated by LargeFileUploadTask.createUploadSession

I eventually worked around it by going to the compiled library and putting some console.logs on the GraphRequest.send method.

Describe the solution you'd like

Not sure, I would imagine one of two options.

  1. when debug is turned on it also turns on the request object as well as the URL that you are requesting
  2. Add the request object to the error response.

Describe alternatives you've considered

So far the alternative is to hack at the compiled code which is not ideal.

Additional context

....

AB#9542

Lingua principale
TypeScript
Stelle
833
Fork
240
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Guida per i contributori

Apri la guida per i contributori

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-sdk-javascript

Tutte le issue di microsoftgraph/msgraph-sdk-javascript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.