[Feature] Extract Interface for APIs used by Controls
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 20/100
- Issue 类型
- 功能
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- csharp
调研方向
首先审查 issue #76 中描述的身份验证隔离,以及 controls 当前使用的 API。在基础包中定义通用接口,然后确定单独的 controls 实现如何支持所列出的 Graph endpoint 和 SDK 替代方案。当针对所述连接选项就接口和实现边界达成一致时,即视为完成。
由索引模型根据 Issue 内容生成。
描述
Describe the problem this feature would solve
Allow for alternate SDK versions #52 (as well as V1 vs. V2 connections, or leaner HTTP only based implementations (refit?)) and alternate implementations to other ecosystems (though not a priority for us, would allow controls better re-use for others).
Describe the solution
Was thinking now that we've started isolating the authentication method in #76, that it may make sense to extend that to the Graph SDK itself. If we create a common interface for any calls we need to make, that can be in our base packages and referenced by our controls package, but then we could put the implementation that drives the controls in a separate packages. Then hook them up later.
This would provide a number of ways to implement the connection to the Graph which should let us:
- Connect to Beta End-point
- Connect to V1 End-point
- Support both V1 and V2 Graph SDKs when the later releases hopefully?
- Create a leaner HTTP only implementation without an explicit Graph SDK reference, maybe using refit or something else?
- Allow others to connect to other ecosystems outside of graph to re-use controls.
Just like authentication, we don't have to make assumptions or dictations on what apps have to use to leverage the controls themselves to improve their apps.
FYI @shweaver-MSFT
- 主要语言
- C#
- 星标
- 156
- 派生
- 37
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
CommunityToolkit/Graph-Controls 的其他 Issue
-
bug :bug:
难度 4/5 3-5 天 新手友好度 25/100
CommunityToolkit/Graph-Controls#211 · 3 条评论 ·
-
CommunityToolkit.Authentication.Msal use Microsoft Graph V4 but if you install V5,you cannot release未关闭bug :bug: needs attention :wave: needs triage :mag:
难度 4/5 3-5 天 新手友好度 25/100
CommunityToolkit/Graph-Controls#208 · 20 条评论 ·
-
enhancement :sparkles:
难度 2/5 1-3 小时 新手友好度 35/100
-
Area: Providers
难度 2/5 1-3 小时 新手友好度 55/100
CommunityToolkit/Graph-Controls#195 · 1 条评论 ·
-
Area: Providers bug :bug:
难度 4/5 3-5 天 新手友好度 35/100
CommunityToolkit/Graph-Controls#189 · 3 条评论 ·
查看 CommunityToolkit/Graph-Controls 的全部 Issue
相似的 Issue
-
area: core bug help wanted ready
难度 2/5 1-3 小时 新手友好度 62/100
维护者通常 1 天内回复
-
area: remote bug
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
📅 Sprint 4 Module-Tools Setup Submit:None 🦔 Size Tiny
难度 2/5 1-3 小时 新手友好度 70/100
CodeYourFuture/Module-Tools#712 ·
-
A: Mapping P3: Standard T: New Feature
难度 2/5 1-3 小时 新手友好度 68/100
space-wizards/space-station-14#46878 · 2 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 半天 新手友好度 60/100
CommunityToolkit/Windows#896 · 2 条评论 ·