1 repository
Define and compose GraphQL selection sets at runtime that can be shared across multiple requests.
Distinct from GraphQL Selection Set Validations: Distinct from GraphQL Selection Set Validations: focuses on runtime composition and reuse of selection sets, not validation of field name collisions.
Explore 1 awesome GitHub repository matching web development · Composable Selection Sets. Refine with filters or upvote what's useful.
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.