gql_dedupe_link 1.0.6

  • Readme
  • Changelog
  • Example
  • Installing
  • 82

A GQL Link to deduplicate in-flight requests.

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.

1.0.6 #

  • upgrade package:gql_link to v0.2.0

1.0.5 #

  • Upgrade package:gql to v0.11.0

1.0.4 #

  • Upgrade package:gql to v0.10.0

1.0.3 #

  • upgrade package:gql to v0.9.0

1.0.2 #

  • upgrade package:gql to v0.8.3 which downgrades some dependencies for Flutter compatibility

1.0.1 #

  • Update pubspec description

1.0.0 #

  • Dedupe Link

example/gql_dedupe_link_example.dart

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

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

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  gql_dedupe_link: ^1.0.6

2. Install it

You can install packages from the command line:

with pub:


$ pub get

with Flutter:


$ flutter pub get

Alternatively, your editor might support pub get or flutter pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:gql_dedupe_link/gql_dedupe_link.dart';
  
Popularity:
Describes how popular the package is relative to other packages. [more]
65
Health:
Code health derived from static analysis. [more]
100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
100
Overall:
Weighted score of the above. [more]
82
Learn more about scoring.

We analyzed this package on Nov 7, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.6.0
  • pana: 0.12.21

Platforms

Detected platforms: Flutter, web, other

No platform restriction found in primary library package:gql_dedupe_link/gql_dedupe_link.dart.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.2.2 <3.0.0
async ^2.3.0 2.4.0
gql ^0.11.0 0.11.1
gql_link ^0.2.0 0.2.0
meta ^1.1.7 1.1.8
Transitive dependencies
charcode 1.1.2
collection 1.14.12
path 1.6.4
source_span 1.5.5
term_glyph 1.1.0
Dev dependencies
gql_pedantic ^1.0.0
mockito ^4.1.1
test ^1.0.0