Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

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

Đang mở
#457 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
35/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
typescript
Lĩnh vực
api, developer-experience

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

Ngôn ngữ chính
TypeScript
Star
833
Fork
240
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của microsoftgraph/msgraph-sdk-javascript

Tất cả issue của microsoftgraph/msgraph-sdk-javascript

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.