{"library":"gql-dedup","type":"library","category":null,"description":"A drop-in replacement for graphql-tag that automatically deduplicates fragments when composing GraphQL queries. Version 1.0.3 is current and stable, with no significant release cadence. Unlike graphql-tag, which throws duplicate fragment errors, gql-dedup safely includes each fragment only once, enabling reusable fragment composition across deeply nested dependencies. Ships TypeScript types and requires graphql-tag ^2.0.0 and graphql ^14.0.0 as peer dependencies. Ideal for Apollo Client projects that share fragments across multiple queries.","language":"javascript","status":"active","version":"1.0.3","tags":["javascript","graphql","tag","dedup","deduplicate","fragments","apollo","gql","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install gql-dedup","imports":["import gql from 'gql-dedup'","import { gql } from 'gql-dedup'","import { resetCaches } from 'gql-dedup'"]},{"cmd":"yarn add gql-dedup","imports":[]},{"cmd":"pnpm add gql-dedup","imports":[]}],"homepage":"https://github.com/dimikot/gql-dedup#readme","github":"https://github.com/dimikot/gql-dedup","docs":null,"changelog":null,"pypi":null,"npm":"gql-dedup","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}