4 repositorios
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 es una biblioteca GraphQL y servidor de implementación para Go que prioriza el esquema. Proporciona un motor de ejecución de consultas y un analizador de esquemas que convierte cadenas de definición de esquemas en estructuras ejecutables y valida las firmas de los resolutores. La biblioteca también incluye una implementación de streaming para suscripciones GraphQL en tiempo real utilizando canales dentro de los resolutores. El proyecto se distingue por la ejecución paralela de resolutores para reducir la latencia de las solicitudes y el uso de gestión de memoria de buffer-pool para reducir la sobrecarga de recolección de basura. Permite la creación de instancias de esquema clonables a partir de un árbol de sintaxis compartido para aplicar configuraciones o sobrescrituras de resolutores únicas. La biblioteca cubre amplias áreas de capacidad, incluyendo la gestión de esquemas con definiciones de escalares personalizados y exportación de metadatos, y seguridad mediante limitaciones de profundidad y complejidad de consultas. También proporciona herramientas para la obtención eficiente de datos mediante la inspección de conjuntos de selección para evitar consultas N+1, así como observabilidad mediante trazado de ejecución y manejo de pánico en resolutores.
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.