microsoftgraph / microsoftgraph/msgraph-sdk-java

members subresource is missing under directoryRolesWithRoleTemplateId in 6.5.1

オープン
#1,915 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

bug dependency:metadata
主要言語
Java
スター
444
フォーク
154
平均マージ
18時間 28分
マージ済み PR(30日)
4

説明

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.

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

DirectoryRolesWithRoleTemplateIdRequestBuilder から始め、動作している directoryRoles().byDirectoryRoleId("roleId") builder と比較します。role-id パスで members() がどのように公開されているかを追跡し、template-id パスが同じクエリ操作とメンバー操作をサポートしていることを確認します。client.directoryRolesWithRoleTemplateId("roleTemplateId").members().get() と対応する操作が利用可能になれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
java
領域
api
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
明確に書かれている
初心者へのやさしさ
45/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。