gql_exec 0.2.2

Basis for GraphQL execution layer to support Link and Client.

This package defines containers for a GraphQL document to be executed.

Used by package:gql_link.

Features and bugs #

Please file feature requests and bugs at the GitHub.

0.2.2 #

  • upgrade package:gql_pedantic

0.2.1 #

  • include variables when updating context

0.2.0 #

  • move variables from Operation to Request

0.1.1 #

  • fixed documentation

0.1.0 #

  • extracted from package:gql and refactored

Use this package as a library

1. Depend on it

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

  gql_exec: ^0.2.2

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_exec/gql_exec.dart';
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
Learn more about scoring.

We analyzed this package on Feb 15, 2020, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.7.1
  • pana: 0.13.5

Maintenance suggestions

Maintain an example. (-10 points)

Create a short demo in the example/ directory to show how to use this package.

Common filename patterns include main.dart, example.dart, and gql_exec.dart. Packages with multiple examples should provide example/

For more information see the pub package layout conventions.


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.2.2 <3.0.0
collection ^1.14.11 1.14.12
gql ^0.12.1 0.12.2
meta ^1.1.7 1.1.8
Transitive dependencies
charcode 1.1.3
path 1.6.4
source_span 1.6.0
term_glyph 1.1.0
Dev dependencies
gql_pedantic ^1.0.1
test ^1.0.0