Incorrect type for "Identity" in "IdentitySet"
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- typescript
- Lĩnh vực
- api
Hướng nghiên cứu
Start in microsoft-graph.d.ts at the Identity declaration around line 8736, then compare it with the createdBy.user type on DriveItem and the API shape described in the issue. Check whether the beta declarations differ. Done means the declarations represent the returned identity fields and the relevant type usage is covered.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
The type Identity seems to be different from what the API is returning. This error occured for us when retrieving the identity of the creator of the document using the createdBy.user field on a DriveItem.
Expected (declared in microsoft-graph.d.ts line 8736)
{
id?: string;
displayName?: string;
}
Returned by API
{
email: "some.email@domain",
displayName: "Some Name"
}
We tried to switch to the beta types but they are the same.
We are for now casting the createdBy.user property to what the API is returning.
AB#7046
- Ngôn ngữ chính
- PowerShell
- Star
- 129
- Fork
- 35
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của microsoftgraph/msgraph-typescript-typings
-
status:waiting-for-triage type:bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 48/100
microsoftgraph/msgraph-typescript-typings#756 · 1 reaction ·
-
status:waiting-for-triage type:bug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
microsoftgraph/msgraph-typescript-typings#748 · 2 reaction ·
-
status:waiting-for-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 48/100
-
status:waiting-for-triage type:feature
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
microsoftgraph/msgraph-typescript-typings#530 · 1 reaction ·
Tất cả issue của microsoftgraph/msgraph-typescript-typings
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
fb55/htmlparser2#2579 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug good first issue needs-review
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
trycua/hermes-cua-spaces#17 ·
-
area/channels kind/bug priority/medium
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
nanocoai/nanoclaw#4501 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 69/100
AndyHazz/bookends.koplugin#134 ·