4 repository-uri
Analysis of GraphQL selection sets to prevent field name collisions in the response.
Distinguishing note: Candidates focus on VCS merge conflicts or database field selection, not GraphQL response name collisions.
Explore 4 awesome GitHub repositories matching web development · GraphQL Selection Set Validations. Refine with filters or upvote what's useful.
This project is a GraphQL implementation for Go, providing a complete suite for building GraphQL servers. It includes a schema engine for defining types, a query parser to convert strings into abstract syntax trees, and an execution engine that resolves fields against a defined schema to return structured data. The library distinguishes itself through reflection-based type mapping, allowing object definitions and arguments to be derived directly from native Go structs. It also supports the execution of real-time data streaming via GraphQL subscriptions and provides an extensible execution pip
Analyzes selection sets to ensure fields produce distinct response names and reports overlapping conflicts.
graphql-request is a lightweight, type-safe GraphQL client library for JavaScript that runs across browsers, Node.js, and other JavaScript environments. It provides a minimal HTTP client for sending queries and mutations, with a promise-based execution model that uses the native fetch API for cross-runtime compatibility without additional dependencies. The client supports reusable selection set composition at runtime, allowing fragments to be shared across multiple requests to reduce duplication. It includes a plugin-based extension system for adding custom middleware, tracing, or file upload
Provides runtime selection set composition for sharing fragments across multiple GraphQL requests.
graphql-go este o bibliotecă GraphQL „schema-first” și o implementare de server pentru Go. Oferă un motor de execuție a interogărilor și un parser de schemă care convertește șirurile de definire a schemei în structuri executabile și validează semnăturile resolver-elor. Biblioteca include, de asemenea, o implementare de streaming pentru subscripții GraphQL în timp real folosind canale în cadrul resolver-elor. Proiectul se distinge prin execuția paralelă a resolver-elor pentru a reduce latența cererilor și utilizarea gestionării memoriei prin buffer-pool pentru a reduce overhead-ul garbage collector-ului. Permite crearea de instanțe de schemă clonabile dintr-un arbore de sintaxă partajat pentru a aplica configurații sau suprascrieri unice ale resolver-elor. Biblioteca acoperă domenii largi de capabilități, inclusiv gestionarea schemei cu definiții scalare personalizate și exportul de metadate, precum și securitatea prin limitări de adâncime și complexitate a interogărilor. Oferă, de asemenea, instrumente pentru preluarea eficientă a datelor prin inspecția setului de selecție pentru a preveni interogările N+1, precum și observabilitate prin trasarea execuției și gestionarea panic-urilor în resolver-e.
Analyzes requested fields within the resolver context to optimize database projections and avoid over-fetching.
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
Analyzes the selection set at runtime to fetch only the fields required by the client.