Streamline server error deserialization when using graph core SDKs
维护者通常 2 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 25/100
- Issue 类型
- 功能
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- csharp
调研方向
首先阅读链接的 ErrorContent.md 指南以及其中引用的 ServiceException.cs 实现。比较 Java、PHP 和 Python 目前如何为 Page Iterator、Large File Upload 和 Batch 请求公开 Graph 错误 payload。项目就自定义映射或标准 Core SDK 异常形成一致且经过约定的描述方案后,即视为完成。
由索引模型根据 Issue 内容生成。
描述
We currently provide different experiences across languages to handle error payloads from Graph when using only the Core SDK.
This is apparent when working with tasks (Page Iterator, Large File Upload) and Batch requests making it difficult for developers to understand the cause of failed requests.
e.g.
.NET Core SDK provides a ServiceException which stores the error payload as a string property for LFU
Java, PHP & Python currently don't expose/deserialize the error payload out of the box
We could agree to:
- allow passing custom error mappings with the option of adding convenience methods on the GraphServiceClient to create tasks while passing the generated error models under the hood.
- provide a standard Exception type for the Core SDK that we default to when no custom error mappings are present.
Previous guidance around this, worth referencing. https://github.com/microsoftgraph/msgraph-sdk-design/blob/master/content/ErrorContent.md
- 主要语言
- C#
- 星标
- 163
- 派生
- 66
- 平均合并
- 1 天 18 小时
- 30 天内合并 PR
- 8
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
microsoftgraph/msgraph-sdk-dotnet-core 的其他 Issue
-
Missing ConfigureAwait in PageIterator.IntrapageIterateAsync可能已有人在做 @hardikkaurani 于 6 天前认领。 未关闭status:waiting-for-triage type:bug
难度 2/5 1-3 小时 新手友好度 68/100
microsoftgraph/msgraph-sdk-dotnet-core#1059 ·
维护者通常 2 天内回复
-
status:waiting-for-triage type:bug
难度 3/5 1-2 天 新手友好度 55/100
microsoftgraph/msgraph-sdk-dotnet-core#1047 · 3 条评论 · 8 个 reaction ·
维护者通常 2 天内回复
-
status:waiting-for-triage
难度 2/5 1-3 小时 新手友好度 45/100
microsoftgraph/msgraph-sdk-dotnet-core#1046 · 2 条评论 · 2 个 reaction ·
维护者通常 2 天内回复
-
.NET
难度 4/5 3-5 天 新手友好度 25/100
microsoftgraph/msgraph-sdk-dotnet-core#1029 ·
维护者通常 2 天内回复
-
Fix CI build on windows-latest可能重新可做 @ramsessanchez 于 313 天前认领,目前没有进行中的 PR。 未关闭
microsoftgraph/msgraph-sdk-dotnet-core#1003 · 已指派 1 人 ·
维护者通常 2 天内回复
查看 microsoftgraph/msgraph-sdk-dotnet-core 的全部 Issue
相似的 Issue
-
needs attention public-client untriaged
难度 2/5 1-3 小时 新手友好度 73/100
AzureAD/microsoft-authentication-library-for-dotnet#6242 ·
维护者通常 2 天内回复
-
难度 1/5 1-3 小时 新手友好度 90/100
criticalmanufacturing/cli#882 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
Dome-Works/DOME#129 ·
维护者通常 1 天内回复
-
bug sev:L
难度 2/5 1-3 小时 新手友好度 82/100
Systemorph/MeshWeaver#7480 ·
维护者通常 1 天内回复
-
bug small tooling
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复