[Feature] Extract Interface for APIs used by Controls

Aperta
#88 1 commento 1 reazione 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
20/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
csharp

Direzione di ricerca

Inizia esaminando l’isolamento dell’autenticazione descritto nell’issue #76 e le API attualmente utilizzate dai controlli. Definisci l’interfaccia comune nei pacchetti di base, quindi determina come un’implementazione separata dei controlli potrebbe supportare le alternative di endpoint Graph e SDK indicate. Il lavoro è completato quando sono stati concordati l’interfaccia e il confine dell’implementazione per le opzioni di connessione specificate.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Area: Controls enhancement :sparkles: question :grey_question:

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

Lingua principale
C#
Stelle
156
Fork
37
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

  • Nessun Dockerfile né file Docker Compose
  • Ha un modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di CommunityToolkit/Graph-Controls

Tutte le issue di CommunityToolkit/Graph-Controls

Issue simili

Altre issue su C#

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.