Azure / Azure/data-api-builder

Support Relay GraphQL standard

Aperta
#965 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
needs discussion rfc
Lingua principale
C#
Stelle
1.5k
Fork
370
Merge medio
3g 17h
PR unite (30g)
8

Descrizione

# Summary
Add support for the Relay GraphQL standard

# Motivation

Relay provides quite a lot of useful features to front-developers and given that fact that it is almost a de-facto standard, it means many libraries can provide implementation so that its usage can be ever easier. This is expected to drive adoption of tools like DAB.

# Functional Specifications

Relay is based on two core GraphQL "best practitices" that needs to be implemented in order to support Relay:

- [Complete Connection Model](https://graphql.org/learn/pagination/#complete-connection-model)
- [Global Object Identification](https://graphql.org/learn/global-object-identification/)

more details on the Relay site:

- [GraphQL Cursor Connections Specification](https://relay.dev/graphql/connections.htm)
- [GraphQL Server Specification](https://relay.dev/docs/guides/graphql-server-specification/)

It should be possible to decide if to generate a Relay-compatible GraphQL schema or use the default one provided by Data API Builder, but setting a dedicated configuration option (in the `runtime` section) in the configuration file.

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Inizia esaminando la sezione runtime del file di configurazione e le specifiche collegate di GraphQL e Relay per il Complete Connection Model e Global Object Identification. Il lavoro è completato quando un'opzione dedicata può selezionare uno schema GraphQL compatibile con Relay, preservando al contempo lo schema predefinito di Data API Builder.

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

Valutazione

Stack tecnologico
graphql
Ambito
api
Tipo di issue
Funzionalità
Difficoltà
5/5
Tempo stimato
Più di una settimana
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
25/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.