CommunityToolkit / CommunityToolkit/Graph-Controls

[Feature] Extract Interface for APIs used by Controls

Đang mở
#88 1 bình luận 1 reaction 0 người được giao Xem trên GitHub
Area: Controls enhancement :sparkles: question :grey_question:
Ngôn ngữ chính
C#
Star
156
Fork
38
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

## 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](https://github.com/reactiveui/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

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.