4 个仓库
Implementations of the Relay framework's standards for connections, edges, and node fetching.
Distinct from Relay Implementations: Candidates are for network relays or quines; this is about the GraphQL Relay specification.
Explore 4 awesome GitHub repositories matching web development · Relay Specification Implementations. Refine with filters or upvote what's useful.
Graphene is a library and framework for building type-safe GraphQL APIs and schemas using Python objects and resolvers. It provides a system for mapping internal data models to typed GraphQL schemas, enabling the creation of servers that process queries and execute resolvers to return structured data. The project includes a full implementation of the Relay specification, providing standardized patterns for global object identification and cursor-based pagination. It utilizes a class-based approach to schema definition and supports interface-based type inheritance. The framework covers a broa
Provides a full implementation of the Relay specification for standardized pagination and identification.
Strawberry 是一个用于 Python 的类型安全 GraphQL 库,支持使用 Python 类型注解和数据类(dataclasses)来设计 Schema。它作为一个异步 GraphQL 服务器和执行引擎,提供了将 Schema 暴露给 ASGI 兼容 Web 框架(如 FastAPI、Django、Flask 和 Litestar)的桥梁。 该项目实现了 GraphQL Federation,允许创建分布式 Schema 和实体,并将它们合并为跨多个服务的统一超图(supergraph)。它还包含一个专用的 Relay 规范工具包,支持全局对象标识和基于连接的分页。 该框架涵盖了广泛的能力,包括通过 WebSocket 和服务器发送事件(SSE)进行实时数据流传输、Pydantic 模型映射以及自动代码生成。它为安全性和可观测性提供了集成工具,例如查询复杂度限制、基于角色的访问控制(RBAC)和执行指标追踪。 开发者可以使用内置的开发服务器和交互式 Schema 检查界面进行原型设计。
Implements the Relay GraphQL specification for standardized connection-based pagination and global object identification.
Graphene-Django 是一个 GraphQL 集成框架和模式映射器,用于为 Django 应用程序构建类型化 API。它作为一个数据库 API 层,将 Django 模型字段和关系转换为图模式,允许客户端在单次调用中请求特定数据。 该项目实现了 Relay 规范,提供用于全局对象标识和标准化基于连接的分页的工具,以管理大型数据集。它通过将数据库模型、表单和序列化器直接映射到 GraphQL 对象类型和变更(Mutations)中而脱颖而出。 该框架涵盖了广泛的能力,包括字段级访问控制、基于中间件的请求拦截以及通过 WebSocket 路由处理实时操作。它还包括用于 SQL 性能检查和变更事务包装的实用程序,以确保更新期间的数据完整性。 提供了一个专门的测试客户端来验证 API 响应并针对端点执行查询。
Ensures compliance with Relay standards for connections, edges, and global object identification.
Pothos is a code-first GraphQL schema builder and framework designed for type-safe development. It allows developers to construct schemas using typed definitions in TypeScript, eliminating the need for external code generation steps. The framework distinguishes itself through a dedicated data mapper that connects GraphQL types to relational databases and ORMs, such as Prisma, while optimizing query resolution. It provides a full implementation of the Relay specification, including global object identification and cursor-based pagination. The project covers several core capability areas, incl
Defines object types that implement a global interface to fetch single or multiple nodes by their unique identifiers.