Channel layoutType property is missing in the SDK
まだ誰も着手していません。
評価
調査の方向性
graph.models.Channel モデルから始め、issue に示されている Microsoft Graph channels endpoint と比較します。2 つの許可された値を含め、layoutType の読み取りとパッチ適用のサポートを追加し、その後、SDK が additionalData を使用せずにプロパティを公開することを確認します。
索引モデルが issue の本文から書いたものです。
説明
Describe the bug
The property layoutType is missing for the graph.models.Channel-Object. Without it reading the actual value of a channel is hard. Patching the property can be done with some workarounds using additionalData (see below).
The object:
A graph request:
https://graph.microsoft.com/v1.0/teams/{team-id}/channels/{channel-id}
Expected behavior
The property should be present in the graph.models.Channel-Object. Also an enum for the two allowed values would be nice.
How to reproduce
Simply use some sdk version and try to read or patch the layoutType of a channel.
SDK Version
6.63
Latest version known to work for scenario above?
none I guess
Known Workarounds
For a patch you can use one of:
.getAdditionalData().put("layoutType", "post");
.getAdditionalData().put("layoutType", "chat");
I don't know if there is a workaround for reading.
Debug output
No response
Configuration
This should not impact the issue, since it is not present in the models of the java-SDK.
Other information
No response
- 主要言語
- Java
- スター
- 444
- フォーク
- 154
- 平均マージ
- 18時間 28分
- マージ済み PR(30日)
- 4
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
microsoftgraph/msgraph-sdk-java のほかの issue
-
status:waiting-for-triage type:bug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
microsoftgraph/msgraph-sdk-java#2610 ·
-
status:waiting-for-triage type:bug
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
microsoftgraph/msgraph-sdk-java#2656 ·
-
status:waiting-for-triage type:bug
難易度 4/5 3〜5日 初心者へのやさしさ 38/100
microsoftgraph/msgraph-sdk-java#2654 ·
-
status:waiting-for-triage
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
microsoftgraph/msgraph-sdk-java#2639 ·
-
status:waiting-for-triage type:bug
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
microsoftgraph/msgraph-sdk-java#2589 · コメント 1 件 ·