Skip to content

Files

Latest commit

5322e86 · May 16, 2025

History

History
48 lines (36 loc) · 1.84 KB

README.md

File metadata and controls

48 lines (36 loc) · 1.84 KB

MIT License PRs Welcome Watch on GitHub Star on GitHub Watch on GitHub Discord

A GQL Link to deduplicate in-flight requests.

By default only queries and subscriptions are deduplicated. Mutations are always forwarded.

Usage

A simple usage example:

import "package:gql_link/gql_link.dart";
import "package:gql_dedupe_link/gql_dedupe_link.dart";

void main () {
  final link = Link.from([
    // SomeLink(),
    DedupeLink(),
    // SomeTerminatingLink(),
  ]);
}

Features and bugs

Please file feature requests and bugs at the GitHub.