Question - Page through a collection using the Microsoft Graph SDKs - v6.29.0
还没有人认领这个 Issue。
评估
调研方向
从 issue 中链接的 Microsoft Graph 分页文档和 Java PageIterator.Builder requestConfigurator 示例开始。比较用于 $select header 的两种 requestInfo.addQueryParameter 形式,然后记录正确的形式,并在需要时更新相关指导。
由索引模型根据 Issue 内容生成。
描述
When passing through collection and readding the header to requestConfigurator of PageIterator.Builder
Do I need to add the header as encoded key or not
For example readding the select header
requestInfo.addQueryParameter("%24select", new String[]{"name", "displayName", "id", "webUrl", "isPersonalSite"});
or
requestInfo.addQueryParameter("$select", new String[]{"name", "displayName", "id", "webUrl", "isPersonalSite"});
According to the documentation in
https://learn.microsoft.com/en-us/graph/sdks/paging?tabs=java
it appeared it's needed to encode the key
Thanks,
Itay
- 主要语言
- Java
- 星标
- 444
- 派生
- 154
- 平均合并
- 18 小时 28 分钟
- 30 天内合并 PR
- 4
贡献指南
从这里开始
- 先读完整个 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 ·
-
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 条评论 ·
查看 microsoftgraph/msgraph-sdk-java 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 75/100
elastic/gradle-plugins#157 ·
-
enhancement Tools
难度 1/5 1 小时以内 新手友好度 75/100
-
难度 2/5 1-3 小时 新手友好度 70/100
apache/rocketmq-dashboard#5008 ·
-
bug
难度 2/5 1-3 小时 新手友好度 75/100
-
DETECT_PARAMETER_NAMES=false silently disables @ConstructorProperties-based Creator detection too 未关闭
难度 2/5 1-3 小时 新手友好度 70/100
FasterXML/jackson-databind#6229 ·