Azure / Azure/data-api-builder
Support Relay GraphQL standard
- Langage dominant
- C#
- Étoiles
- 1.5k
- Forks
- 370
- Merge moyen
- 3 j 22 h
- PR mergées (30 j)
- 9
Description
# 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.
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Commencez par examiner la section runtime du fichier de configuration et les spécifications GraphQL et Relay liées concernant le Complete Connection Model et Global Object Identification. Le travail est terminé lorsqu’une option dédiée permet de sélectionner un schéma GraphQL compatible avec Relay tout en préservant le schéma Data API Builder par défaut.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- graphql
- Domaine
- api
- Type d'issue
- Fonctionnalité
- Difficulté
- 5/5
- Temps estimé
- Plus d'une semaine
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 25/100