Azure / Azure/data-api-builder

Support Relay GraphQL standard

オープン
#965 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
needs discussion rfc
主要言語
C#
スター
1.5k
フォーク
370
平均マージ
3日 22時間
マージ済み PR(30日)
9

説明

# 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.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

まず、構成ファイルの runtime セクションと、Complete Connection Model および Global Object Identification に関するリンク先の GraphQL と Relay の仕様を確認します。Relay 互換の GraphQL スキーマを選択できる専用オプションを用意し、デフォルトの Data API Builder スキーマを維持できれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
graphql
領域
api
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。