microsoft / microsoft/OpenAPI.NET.OData
Expanding navigation properties on alternate keys
还没有人认领这个 Issue。
- 主要语言
- C#
- 星标
- 240
- 派生
- 70
- 平均合并
- 7 小时 59 分钟
- 30 天内合并 PR
- 13
描述
Related to https://github.com/microsoftgraph/msgraph-sdk-dotnet/issues/2243
From the documentation at https://learn.microsoft.com/en-us/graph/api/directoryrole-list-members?view=graph-rest-1.0&tabs=http#example-2-get-the-members-of-a-directory-role-using-roletemplateid
It should be possible to list the members of a directoryRole using id or using the roleTemplateId alternate key.
GET /directoryRoles/{role-id}/members
GET /directoryRoles(roleTemplateId='{roleTemplateId}')/members
At moment we do not expand paths with alternate keys even though they may have contained navigation properties. As these maybe be valid paths, we will need to investigate the validity and impact on path expansion across other paths.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
未指定文件或测试。首先定位 path-expansion logic,并将 id path 的 navigation-property expansion 与 alternate-key directoryRole examples 进行比较;然后评估其在其他 paths 上的有效性和影响。完成的标准是:已定义受支持的 alternate-key navigation paths,并通过适当的验证覆盖它们。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- csharp
- 领域
- api, tooling
- Issue 类型
- 功能
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 35/100