PostRequestConfiguration doesn't allow setting of query parameters
維護者通常 1 天內回覆
還沒有人認領這個 Issue。
評估
研究方向
首先定位 Java SDK 的 PostRequestConfiguration 與 users().getByIds().post 請求路徑。將其設定處理與對應的 GET 請求進行比較,然後新增測試涵蓋範圍,顯示可以提供 select 等查詢參數並將其套用至請求。
由索引模型根據 Issue 內容生成。
描述
Describe the bug
When getting a list of users by IDs it is possible to filter and select further with the use of query paramters (same as the get request for all / one user). Unfornuately the Java SDK doesn't allow that. The PostRequestConfiguration only allows to modify the headers of the request.
Expected behavior
Same as the get request:
List<DirectoryObject> page = graphServiceClient.users().getByIds().post(body, config -> {
config.queryParameters.select = new String[] {"onPremisesSamAccountName", "userPrincipalName",
"department"};
}).getValue();
How to reproduce
see above
SDK Version
6.36.0
Latest version known to work for scenario above?
No response
Known Workarounds
No response
Debug output
Configuration
No response
Other information
No response
- 主要語言
- Java
- 星號
- 445
- 分支
- 154
- 平均合併
- 17 小時 22 分鐘
- 30 天內合併 PR
- 3
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
microsoftgraph/msgraph-sdk-java 的其他 Issue
-
status:waiting-for-triage type:bug
難度 2/5 1-3 小時 新手友好度 68/100
microsoftgraph/msgraph-sdk-java#2610 ·
維護者通常 1 天內回覆
-
status:waiting-for-triage type:bug
難度 3/5 1-2 天 新手友好度 55/100
microsoftgraph/msgraph-sdk-java#2656 ·
維護者通常 1 天內回覆
-
status:waiting-for-triage type:bug
難度 4/5 3-5 天 新手友好度 38/100
microsoftgraph/msgraph-sdk-java#2654 ·
維護者通常 1 天內回覆
-
status:waiting-for-triage
難度 4/5 3-5 天 新手友好度 35/100
microsoftgraph/msgraph-sdk-java#2639 ·
維護者通常 1 天內回覆
-
status:waiting-for-triage type:bug
難度 3/5 1-2 天 新手友好度 35/100
microsoftgraph/msgraph-sdk-java#2589 · 1 則留言 ·
維護者通常 1 天內回覆
查看 microsoftgraph/msgraph-sdk-java 的全部 Issue
相似的 Issue
-
難度 1/5 1 小時以內 新手友好度 90/100
bancolombia/scaffold-clean-architecture#1002 ·
維護者通常 1 天內回覆
-
CalendarEventAttendance/get returns eventAttendanceStatus while the doc says attendanceStatus可能已有人在做 @chibenwa 今天認領。 未關閉bug claude
難度 1/5 1 小時以內 新手友好度 90/100
linagora/tmail-backend#2697 · 1 則留言 ·
維護者通常 1 天內回覆
-
bug
難度 2/5 1-3 小時 新手友好度 75/100
apache/skywalking#14120 ·
維護者通常 1 天內回覆
-
[BUG] Case-insensitive search suggestions miss items when the JVM default locale is Turkish可能已有人在做 @thswlsqls 今天認領。 未關閉
難度 2/5 1-3 小時 新手友好度 78/100
維護者通常 1 天內回覆
-
enhancement
難度 2/5 1-3 小時 新手友好度 75/100
維護者通常 1 天內回覆