A .NET GraphQL implementation that converts GraphQL queries to IQueryable for efficient database execution.
GraphQL.Net is a .NET library that implements the GraphQL specification by converting GraphQL queries into IQueryable expressions. It solves the problem of inefficient in-memory GraphQL execution by translating queries directly to database queries through ORMs like Entity Framework, enabling performant data retrieval from SQL databases.
.NET developers building GraphQL APIs over database-backed applications, especially those using Entity Framework or other IQueryable-compatible ORMs who need efficient query translation.
Developers choose GraphQL.Net for its direct IQueryable translation, which ensures GraphQL queries are executed efficiently at the database level rather than in memory, reducing overhead and improving performance for data-intensive applications.
Convert GraphQL to IQueryable
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Directly converts GraphQL queries to IQueryable expressions, enabling database-level execution with ORMs like Entity Framework to avoid in-memory processing of large datasets.
Provides a fluent API to define GraphQL types and fields from .NET classes, with helpers like AddAllFields for automatic mapping and custom resolvers using anonymous types for type safety.
Designed for database-backed data, supporting complex queries with joins and aggregations through IQueryable, as shown in the example translating GraphQL to Entity Framework queries.
Uses anonymous types to define query arguments, ensuring compile-time type safety in resolvers and reducing runtime errors.
The TODO list admits missing features like directives, enum types, custom primitive types, and introspection, limiting compatibility with standard GraphQL tools and advanced use cases.
Primarily optimized for database queries via IQueryable, making it less flexible for hybrid data sources or applications that don't use ORMs like Entity Framework.
Documentation is hosted on GitBooks with no mention of community support, and being a niche library, it may lack the resources and updates compared to popular alternatives.