8 个仓库
Multiple entity types sharing the same underlying class definition.
Distinct from Entity Inheritance: Distinct from general entity inheritance: focuses on sharing classes without necessarily using inheritance hierarchies.
Explore 8 awesome GitHub repositories matching data & databases · Shared Entity Types. Refine with filters or upvote what's useful.
Entity Framework Core is an object-relational mapper that enables developers to interact with database systems using strongly-typed code. It serves as a comprehensive data access framework, providing a unified interface for mapping application objects to relational and non-relational database schemas while managing the lifecycle of data operations through a central context. The project distinguishes itself through a provider-based architecture that decouples core data access logic from specific database engines, allowing for consistent interaction across diverse storage systems. It features a
Allows multiple distinct entity types to share the same underlying class by assigning unique names.
GraphQL-Ruby is a Ruby library for building GraphQL APIs with a strongly typed schema and a dedicated query execution engine. It provides a comprehensive framework for mapping application objects to a formal type system, enabling structured data fetching through defined resolvers. The project distinguishes itself with advanced performance and delivery mechanisms, including a data loader for batching and caching to prevent N+1 query patterns. It supports high-performance data delivery through incremental response streaming, deferred query responses, and parallel data fetching using fibers. Add
Binds extension classes to resolvers to modify or augment the behavior of specific fields.
graphql-tools 是一个 GraphQL 模式编排库和工具包,专为构建、合并和扩展模式而设计。它提供了一个 SDL 优先的模式生成器,可将模式定义语言字符串和解析器映射转换为可执行的模式实例。 该项目具有专用的模式拼接工具,用于将多个独立的 GraphQL 模式组合成单一的统一 API 网关。它还包括一个 GraphQL 模拟引擎,通过根据模式定义生成合成数据来模拟后端。 该工具包涵盖了广泛的组合功能,包括类型定义合并、字段解析委托和模块化模式组织。它支持通过自定义模拟值、用于变更跟踪的状态存储以及基于内省的模拟来模拟 GraphQL API。其他实用程序处理联合和接口解析、重叠类型统一以及用于全局操作的模式级解析器。
Implements unification of divergent type definitions from multiple services that represent the same entity into a single type.
graphql-tools 是一个用于构建、修改和组合 GraphQL 模式的工具包。它提供了一套用于解析模式定义语言(SDL)、管理解析器绑定以及组装可执行模式的实用程序。 该项目通过模式拼接(schema stitching)合并多个独立的子模式,从而实现统一 GraphQL 网关的组合。这包括实体类型合并、类型扩展以及字段解析委托功能,以跨不同服务路由请求。 该工具包还包括一个模拟引擎,可生成模拟的 GraphQL 模式和数据。该系统支持自定义值生成、变更模拟和分页结果模拟,以便在没有实时服务器的情况下模拟后端行为。 其他开发实用程序涵盖了解析器覆盖率验证以及将文档附加到类型和字段的功能。
Unifies different type definitions from multiple services that refer to the same entity to fetch fields from multiple sources.
Strawberry 是一个用于 Python 的类型安全 GraphQL 库,支持使用 Python 类型注解和数据类(dataclasses)来设计 Schema。它作为一个异步 GraphQL 服务器和执行引擎,提供了将 Schema 暴露给 ASGI 兼容 Web 框架(如 FastAPI、Django、Flask 和 Litestar)的桥梁。 该项目实现了 GraphQL Federation,允许创建分布式 Schema 和实体,并将它们合并为跨多个服务的统一超图(supergraph)。它还包含一个专用的 Relay 规范工具包,支持全局对象标识和基于连接的分页。 该框架涵盖了广泛的能力,包括通过 WebSocket 和服务器发送事件(SSE)进行实时数据流传输、Pydantic 模型映射以及自动代码生成。它为安全性和可观测性提供了集成工具,例如查询复杂度限制、基于角色的访问控制(RBAC)和执行指标追踪。 开发者可以使用内置的开发服务器和交互式 Schema 检查界面进行原型设计。
Adds new fields to existing interfaces defined in other services to enrich federated resources.
FreeSql 是一个 .NET 对象关系映射器(ORM)和数据访问层,可将面向对象的代码转换为适用于多种关系型数据库提供程序的 SQL。它作为一个流畅的 SQL 查询构建器和数据库架构同步器,允许开发者将数据库表和索引结构与实体类定义保持一致。 该框架专门针对 .NET Native AOT 进行了优化,以确保更小的内存占用和更快的启动时间。它包含一个数据库流量管理器,通过读写分离、动态分表和基于租户的数据隔离来分配负载。 其广泛的功能包括使用特定于提供程序的批量复制机制实现高性能数据摄入,利用窗口函数和递归 CTE 进行高级查询,以及基于 AOP 的数据变更审计监控。该系统还提供用于自动迁移的架构管理工具,以及用于从数据库元数据生成实体类的开发实用程序。
Supports the recognition of external metadata attributes defined by other frameworks for naming tables and columns.
apollo-ios is a GraphQL client library for iOS and Apple platforms that enables type-safe network communication. It transforms GraphQL operations into generated Swift models, ensuring that network responses are validated at compile time to eliminate manual mapping. The library features a normalized cache manager that stores entities in a flat structure to maintain data consistency across different application views. It also optimizes network performance using hash-based persisted queries to reduce payload sizes and supports real-time data streaming via WebSockets or HTTP subscriptions. The p
Adds additional fields to an existing entity from a different data source to complete a resource.
This library is a PHP tool for programmatically defining, building, and exporting structured data graphs. It provides a fluent, object-oriented interface that allows developers to construct complex, nested metadata structures that comply with standardized vocabulary requirements for search engine indexing. The library distinguishes itself through its support for multi-typed entity modeling, which enables the combination of several classification categories into a single, unified entity. It also features a graph-based modeling system that facilitates the linking and cross-referencing of relate
Allows merging multiple standard schema types into a single entity to satisfy several classification requirements.