microsoftgraph / microsoftgraph/msgraph-sdk-java
members subresource is missing under directoryRolesWithRoleTemplateId in 6.5.1
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- Java
- Star
- 444
- Fork
- 154
- Merge trung bình
- 18 giờ 28 phút
- Pull request đã merge (30 ngày)
- 4
Mô tả
The Graph API supports listing members of a DirectoryRole via both its role-id and its roleTemplateId, like can be seen here: https://learn.microsoft.com/en-us/graph/api/directoryrole-list-members?view=graph-rest-1.0&tabs=http#http-request
In the new SDK, this would translate to these two statements:
client.directoryRoles().byDirectoryRoleId("roleId").members().get()
client.directoryRolesWithRoleTemplateId("roleTemplateId").members().get()
Of these, the first works fine, but the second is missing. DirectoryRolesWithRoleTemplateIdRequestBuilder does not have a members() method. In the Graph API, both constructs should behave identical, both for querying and manipulation (for example adding new members). The absence of this method forces us to split the call in two: first get the directory role by template id and then perform the actual operation.
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.
Hướng nghiên cứu
Bắt đầu với DirectoryRolesWithRoleTemplateIdRequestBuilder và so sánh nó với builder đang hoạt động directoryRoles().byDirectoryRoleId("roleId"). Theo dõi cách members() được cung cấp cho đường dẫn role-id, sau đó xác minh rằng đường dẫn template-id hỗ trợ các thao tác truy vấn và thao tác thành viên tương tự. Hoàn thành khi client.directoryRolesWithRoleTemplateId("roleTemplateId").members().get() và các thao tác tương ứng khả dụng.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- java
- Lĩnh vực
- api
- Loại issue
- Lỗi
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức phù hợp với người mới
- 45/100