microsoftgraph / microsoftgraph/msgraph-sdk-java
The "creationOptions" field is missing in the Group class
還沒有人認領這個 Issue。
- 主要語言
- Java
- 星號
- 444
- 分支
- 154
- 平均合併
- 18 小時 28 分鐘
- 30 天內合併 PR
- 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 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
從 com.microsoft.graph.models.Group 類別開始,將其可用屬性與 issue 中描述的 transitiveMemberOf 群組回應進行比較。新增缺少的 creationOptions 屬性,型別為 List;完成的標準是 Java 呼叫端可以存取它,且 SDK 模型能夠表示傳回的值。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- java
- 領域
- api
- Issue 類型
- 缺陷
- 難度
- 2/5
- 預估耗時
- 1-3 小時
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100