Delta request for Groups sometimes doesn't return createdDateTime and cannot expand 'members'

Đang mở
#1,488 0 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
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
php
Lĩnh vực
api

Hướng nghiên cứu

Bắt đầu bằng cách so sánh GroupsRequestBuilderGetRequestConfiguration với Microsoft\Graph\Generated\Groups\Delta\DeltaRequestBuilderGetRequestConfiguration và các phản hồi danh sách nhóm đã được báo cáo. Xác minh lý do createdDateTime là null đối với một số nhóm hệ thống và lý do expand=members không được áp dụng; được xem là hoàn tất khi các kết quả Delta cung cấp nhất quán các ngày dự kiến và các thành viên được mở rộng.

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

Mô tả

Library version 2.3.0. When using the standard

GroupsRequestBuilderGetRequestConfiguration

to list groups, the property createdDateTime is returned with a real date of creation for all groups, (system and manually created alike). If I set

$configuration->queryParameters->expand = array('members');

list of members will be always returned. This is expected behavior.

That is not true when using

\Microsoft\Graph\Generated\Groups\Delta\DeltaRequestBuilderGetRequestConfiguration

In that case, createdDateTime will be null in some (but not all) system groups, and list of members will never be expanded.

This kind of subtle incompatibilities makes the Delta API unusable and leads to unnecessary overloading of Microsoft servers, as applications have to poll Microsoft for full list of groups again and again.

Ngôn ngữ chính
PHP
Star
669
Fork
150
Merge trung bình
15 giờ 21 phút
Pull request đã merge (30 ngày)
3

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-php

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

Issue tương tự

Thêm issue về PHP

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.