microsoftgraph / microsoftgraph/msgraph-sdk-java
The "creationOptions" field is missing in the Group class
まだ誰も着手していません。
- 主要言語
- Java
- スター
- 444
- フォーク
- 154
- 平均マージ
- 18時間 28分
- マージ済み PR(30日)
- 4
説明
Issue
I noticed that the com.microsoft.graph.models.Group class doesn't have the creationOptions field. However, this field is available in the HTTP response if I make a HTTP request to the v1.0 endpoint instead of using the Graph Sdk.
The endpoint I am using is /transitiveMemberOf
An example response from HTTP request:
{
"id": "",
"deletedDateTime": null,
"classification": null,
"createdDateTime": "",
"creationOptions": [
"ProvisionGroupHomepage"
],
... (other properties)
}
Expected behavior
The com.microsoft.graph.models.Group class should have a creationOptions field with type List<String>.
Actual behavior
The creationOptions field is not available in the com.microsoft.graph.models.Group class.
Steps to reproduce the behavior
Sdk version: latest sdk
Java code:
Group group = client.me().transitiveMemberOfAsGroup();
List<String> creationOptions = group.creationOptions; // will throw an compile error! The "creationOptions" field does not exist in class Group.
HTTP request:
GET https://graph.microsoft.com/v1.0/me/transitiveMemberOf/microsoft.graph.group
The creationOptions property is available in the HTTP response.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
com.microsoft.graph.models.Group クラスから始め、その利用可能なプロパティを、issue で説明されている transitiveMemberOf グループのレスポンスと比較します。不足している creationOptions プロパティを型 List で追加します。完了とは、Java の呼び出し元がそれにアクセスでき、SDK モデルが返された値を表現していることを意味します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- java
- 領域
- api
- issue の種類
- バグ
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 45/100