awesome-repositories.com
المدونة
awesome-repositories.com

اكتشف أفضل مستودعات المصادر المفتوحة باستخدام بحث مدعوم بالذكاء الاصطناعي.

استكشفعمليات بحث منسقةبدائل مفتوحة المصدربرمجيات ذاتية الاستضافةالمدونةخريطة الموقع
المشروعحولكيفية ترتيب النتائجالصحافةخادم MCP
قانونيالخصوصيةالشروط
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
graph-gophers avatar

graph-gophers/graphql-go

0
View on GitHub↗
4,755 نجوم·493 تفرعات·Go·BSD-2-Clause·11 مشاهدات

Graphql Go

graphql-go is a schema-first GraphQL library and server implementation for Go. It provides a query execution engine and schema parser that converts schema definition strings into executable structures and validates resolver signatures. The library also includes a streaming implementation for real-time GraphQL subscriptions using channels within resolvers.

The project distinguishes itself through parallel resolver execution to reduce request latency and the use of buffer-pool memory management to lower garbage collection overhead. It enables the creation of cloneable schema instances from a shared syntax tree to apply unique resolver configurations or overrides.

The library covers broad capability areas including schema management with custom scalar definitions and metadata export, and security via query depth and complexity limitations. It also provides tools for efficient data fetching through selection-set inspection to prevent N+1 queries, as well as observability via execution tracing and resolver panic handling.

Features

  • Query Execution Engines - Provides the core execution engine that evaluates GraphQL queries against a parsed schema to return structured data.
  • Schema Parsers - Converts GraphQL schema definition strings into abstract syntax trees for validation and programmatic inspection.
  • Resolver Method Mapping - Maps schema fields to exported methods or struct fields based on name matching for data retrieval.
  • Abstract Syntax Tree Parsing - Converts GraphQL schema definition strings into abstract syntax trees to validate resolver signatures and structures.
  • GraphQL API Implementations - Provides a full implementation of a server-side GraphQL interface to process queries and return structured data.
  • Field Argument Handling - Parses query arguments into structured data types, scalars, and enums for use within field resolvers.
  • Schema-First Development Frameworks - Provides a schema-first framework that uses the SDL as the source of truth for executable structure.
  • GraphQL Schema Management - Provides tools for defining custom scalars, managing schemas, and exporting metadata for compatibility.
  • GraphQL Schema Parsing - Implements the core mechanism to convert schema definition strings into executable structures and validate resolver signatures.
  • GraphQL Servers - Provides a complete server-side implementation for parsing schemas and executing queries against resolvers.
  • GraphQL Subscriptions - Implements server-side GraphQL subscriptions to stream real-time data updates to clients.
  • Name-Based Field Resolvers - Automatically maps GraphQL schema fields to methods with matching names on the source resolver objects.
  • Real-Time Data Streaming - Implements application-level streaming to push live server-side data updates to connected clients via GraphQL.
  • Query Field Projections - Analyzes requested fields to optimize database projections and prevent over-fetching of data.
  • Data Fetching Optimizations - Implements prefetching and batching strategies by inspecting requested fields to minimize database round-trips.
  • Custom Scalars - Supports the definition of non-standard primitive data types through custom marshaling and unmarshaling logic.
  • Schema Instance Cloning - Allows creating cloneable schema instances from a shared syntax tree to apply unique resolver configurations.
  • Schema-to-Struct Mappings - Automatically maps internal Go struct fields to the GraphQL schema to serve as resolvers.
  • Memory Allocation Optimizations - Reduces garbage collection overhead by reusing internal temporary buffers and managing memory pools during execution.
  • GraphQL Query Complexity Protection - Protects server resources by restricting query execution based on character length or calculated complexity.
  • GraphQL Security - Protects GraphQL APIs from resource exhaustion by limiting query depth and complexity.
  • Query Complexity Protections - The GraphQL library caps the number of overlapping field combinations in a single query to prevent resource exhaustion.
  • Query Depth Restrictions - Protects server resources by calculating and limiting the maximum nesting level of GraphQL queries.
  • Schema Introspection Restrictions - Filters access to internal schema metadata via custom functions to prevent unauthorized discovery of the API structure.
  • Resolver Channels - Implements real-time updates by returning Go channels from resolvers to stream multiple events to clients.
  • Parallel Resolver Execution - Executes multiple field resolvers in parallel to reduce the total latency of a single query request.
  • Reusable Buffer Pools - Utilizes reusable buffer pools to reduce memory allocation overhead and garbage collection pressure during query execution.
  • N+1 Query Prevention - Inspects requested child fields to enable prefetching and batching, eliminating inefficient repeated database calls.
  • Concurrent Resolver Execution - Executes multiple field resolvers concurrently to reduce the total latency of a single query request.
  • Resolver Coverage Validation - Verifies that all required resolver methods are implemented by the provided types during system initialization.
  • Selection Set Inspection - Analyzes requested fields within the resolver context to optimize database projections and avoid over-fetching.
  • Query Languages - GraphQL server implementation.
  • Go GraphQL Tools - Go server library focused on ease of use.

سجل النجوم

مخطط تاريخ النجوم لـ graph-gophers/graphql-goمخطط تاريخ النجوم لـ graph-gophers/graphql-go

بحث بالذكاء الاصطناعي

استكشف المزيد من المستودعات الرائعة

صف ما تحتاجه بلغة بسيطة — وسيقوم الذكاء الاصطناعي بترتيب آلاف المشاريع مفتوحة المصدر المنسقة حسب الصلة.

Start searching with AI

بدائل مفتوحة المصدر لـ Graphql Go

مشاريع مفتوحة المصدر مشابهة، مرتبة حسب عدد الميزات المشتركة مع Graphql Go.
  • async-graphql/async-graphqlالصورة الرمزية لـ async-graphql

    async-graphql/async-graphql

    3,671عرض على GitHub↗

    async-graphql is a type-safe framework for building specification-compliant GraphQL servers in Rust. It uses procedural macros to automatically generate schemas from native language structures, ensuring consistency between the data model and the API specification. The project provides native support for Apollo Federation v2, allowing entities and fields to be shared and resolved across multiple distributed subgraphs. It also implements real-time data streaming via WebSocket subscriptions and asynchronous event streams. The framework includes a wide array of capabilities for schema design, su

    Rust
    عرض على GitHub↗3,671
  • rmosolgo/graphql-rubyالصورة الرمزية لـ rmosolgo

    rmosolgo/graphql-ruby

    5,448عرض على GitHub↗

    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

    Ruby
    عرض على GitHub↗5,448
  • neelance/graphql-goالصورة الرمزية لـ neelance

    neelance/graphql-go

    4,756عرض على GitHub↗

    graphql-go is a server library for implementing GraphQL servers in Go. It provides the core infrastructure for schema parsing, resolver mapping, and query execution. The library includes a subscription engine that enables real-time data streaming to clients using WebSocket transport. It also features an execution tracer for monitoring and profiling query performance through telemetry tools. The system manages resource consumption and stability through a query optimizer that enforces depth restrictions and controls resolver concurrency. It supports data fetching optimization via field-level p

    Go
    عرض على GitHub↗4,756
  • graphql-dotnet/graphql-dotnetالصورة الرمزية لـ graphql-dotnet

    graphql-dotnet/graphql-dotnet

    5,987عرض على GitHub↗

    GraphQL.NET is a server-side framework for building and executing GraphQL APIs within C# applications. It provides a comprehensive toolkit for schema building, a federated engine for distributed data graphs, and a subscription handler for managing real-time data streams. The project distinguishes itself with a flexible schema builder that supports both programmatic code-first definitions and declarative schema-first approaches using the standard schema definition language. It includes a dedicated federation engine to split data graphs into subgraphs and compose them into a unified gateway, as

    C#apidotnet-coregraphiql
    عرض على GitHub↗5,987
عرض جميع البدائل الـ 30 لـ Graphql Go→

الأسئلة الشائعة

ما هي وظيفة graph-gophers/graphql-go؟

graphql-go is a schema-first GraphQL library and server implementation for Go. It provides a query execution engine and schema parser that converts schema definition strings into executable structures and validates resolver signatures. The library also includes a streaming implementation for real-time GraphQL subscriptions using channels within resolvers.

ما هي الميزات الرئيسية لـ graph-gophers/graphql-go؟

الميزات الرئيسية لـ graph-gophers/graphql-go هي: Query Execution Engines, Schema Parsers, Resolver Method Mapping, Abstract Syntax Tree Parsing, GraphQL API Implementations, Field Argument Handling, Schema-First Development Frameworks, GraphQL Schema Management.

ما هي البدائل مفتوحة المصدر لـ graph-gophers/graphql-go؟

تشمل البدائل مفتوحة المصدر لـ graph-gophers/graphql-go: async-graphql/async-graphql — async-graphql is a type-safe framework for building specification-compliant GraphQL servers in Rust. It uses… rmosolgo/graphql-ruby — GraphQL-Ruby is a Ruby library for building GraphQL APIs with a strongly typed schema and a dedicated query execution… neelance/graphql-go — graphql-go is a server library for implementing GraphQL servers in Go. It provides the core infrastructure for schema… graphql-dotnet/graphql-dotnet — GraphQL.NET is a server-side framework for building and executing GraphQL APIs within C# applications. It provides a… graphql-go/graphql — This project is a GraphQL implementation for Go, providing a complete suite for building GraphQL servers. It includes… strawberry-graphql/strawberry — Strawberry is a type-safe GraphQL library for Python that enables the design of schemas using Python type annotations…