Azure / Azure/data-api-builder
Support Relay GraphQL standard
- Ngôn ngữ chính
- C#
- Star
- 1.5k
- Fork
- 370
- Merge trung bình
- 3 ngày 22 giờ
- Pull request đã merge (30 ngày)
- 9
Mô tả
# 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.
Hướng dẫn đóng góp
Hướng nghiên cứu
Bắt đầu bằng cách xem xét phần runtime của tệp cấu hình và các đặc tả GraphQL và Relay được liên kết cho Complete Connection Model và Global Object Identification. Hoàn thành khi có một tùy chọn riêng có thể chọn schema GraphQL tương thích với Relay trong khi vẫn giữ nguyên schema Data API Builder mặc định.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- graphql
- Lĩnh vực
- api
- Loại issue
- Tính năng
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 25/100