ferry_test_graphql2 0.3.0-dev.0+1 copy "ferry_test_graphql2: ^0.3.0-dev.0+1" to clipboard
ferry_test_graphql2: ^0.3.0-dev.0+1 copied to clipboard

unlisted

Example GraphQL Operations, used in Ferry tests

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add ferry_test_graphql2

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  ferry_test_graphql2: ^0.3.0-dev.0+1

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

Import it

Now in your Dart code, you can use:

import 'package:ferry_test_graphql2/date_serializer.dart';
import 'package:ferry_test_graphql2/fragments/__generated__/review_fragment.ast.gql.dart';
import 'package:ferry_test_graphql2/fragments/__generated__/review_fragment.data.gql.dart';
import 'package:ferry_test_graphql2/fragments/__generated__/review_fragment.data.gql.g.dart';
import 'package:ferry_test_graphql2/fragments/__generated__/review_fragment.req.gql.dart';
import 'package:ferry_test_graphql2/fragments/__generated__/review_fragment.req.gql.g.dart';
import 'package:ferry_test_graphql2/fragments/__generated__/review_fragment.var.gql.dart';
import 'package:ferry_test_graphql2/fragments/__generated__/review_fragment.var.gql.g.dart';
import 'package:ferry_test_graphql2/mutations/__generated__/create_review.ast.gql.dart';
import 'package:ferry_test_graphql2/mutations/__generated__/create_review.data.gql.dart';
import 'package:ferry_test_graphql2/mutations/__generated__/create_review.data.gql.g.dart';
import 'package:ferry_test_graphql2/mutations/__generated__/create_review.req.gql.dart';
import 'package:ferry_test_graphql2/mutations/__generated__/create_review.req.gql.g.dart';
import 'package:ferry_test_graphql2/mutations/__generated__/create_review.var.gql.dart';
import 'package:ferry_test_graphql2/mutations/__generated__/create_review.var.gql.g.dart';
import 'package:ferry_test_graphql2/mutations/__generated__/review_with_date_scalar.ast.gql.dart';
import 'package:ferry_test_graphql2/mutations/__generated__/review_with_date_scalar.data.gql.dart';
import 'package:ferry_test_graphql2/mutations/__generated__/review_with_date_scalar.data.gql.g.dart';
import 'package:ferry_test_graphql2/mutations/__generated__/review_with_date_scalar.req.gql.dart';
import 'package:ferry_test_graphql2/mutations/__generated__/review_with_date_scalar.req.gql.g.dart';
import 'package:ferry_test_graphql2/mutations/__generated__/review_with_date_scalar.var.gql.dart';
import 'package:ferry_test_graphql2/mutations/__generated__/review_with_date_scalar.var.gql.g.dart';
import 'package:ferry_test_graphql2/queries/__generated__/aliased_hero.ast.gql.dart';
import 'package:ferry_test_graphql2/queries/__generated__/aliased_hero.data.gql.dart';
import 'package:ferry_test_graphql2/queries/__generated__/aliased_hero.data.gql.g.dart';
import 'package:ferry_test_graphql2/queries/__generated__/aliased_hero.req.gql.dart';
import 'package:ferry_test_graphql2/queries/__generated__/aliased_hero.req.gql.g.dart';
import 'package:ferry_test_graphql2/queries/__generated__/aliased_hero.var.gql.dart';
import 'package:ferry_test_graphql2/queries/__generated__/aliased_hero.var.gql.g.dart';
import 'package:ferry_test_graphql2/queries/__generated__/hero_no_vars.ast.gql.dart';
import 'package:ferry_test_graphql2/queries/__generated__/hero_no_vars.data.gql.dart';
import 'package:ferry_test_graphql2/queries/__generated__/hero_no_vars.data.gql.g.dart';
import 'package:ferry_test_graphql2/queries/__generated__/hero_no_vars.req.gql.dart';
import 'package:ferry_test_graphql2/queries/__generated__/hero_no_vars.req.gql.g.dart';
import 'package:ferry_test_graphql2/queries/__generated__/hero_no_vars.var.gql.dart';
import 'package:ferry_test_graphql2/queries/__generated__/hero_no_vars.var.gql.g.dart';
import 'package:ferry_test_graphql2/queries/__generated__/hero_with_fragments.ast.gql.dart';
import 'package:ferry_test_graphql2/queries/__generated__/hero_with_fragments.data.gql.dart';
import 'package:ferry_test_graphql2/queries/__generated__/hero_with_fragments.data.gql.g.dart';
import 'package:ferry_test_graphql2/queries/__generated__/hero_with_fragments.req.gql.dart';
import 'package:ferry_test_graphql2/queries/__generated__/hero_with_fragments.req.gql.g.dart';
import 'package:ferry_test_graphql2/queries/__generated__/hero_with_fragments.var.gql.dart';
import 'package:ferry_test_graphql2/queries/__generated__/hero_with_fragments.var.gql.g.dart';
import 'package:ferry_test_graphql2/queries/__generated__/hero_with_inline_fragment.ast.gql.dart';
import 'package:ferry_test_graphql2/queries/__generated__/hero_with_inline_fragment.data.gql.dart';
import 'package:ferry_test_graphql2/queries/__generated__/hero_with_inline_fragment.data.gql.g.dart';
import 'package:ferry_test_graphql2/queries/__generated__/hero_with_inline_fragment.req.gql.dart';
import 'package:ferry_test_graphql2/queries/__generated__/hero_with_inline_fragment.req.gql.g.dart';
import 'package:ferry_test_graphql2/queries/__generated__/hero_with_inline_fragment.var.gql.dart';
import 'package:ferry_test_graphql2/queries/__generated__/hero_with_inline_fragment.var.gql.g.dart';
import 'package:ferry_test_graphql2/queries/__generated__/human_with_args.ast.gql.dart';
import 'package:ferry_test_graphql2/queries/__generated__/human_with_args.data.gql.dart';
import 'package:ferry_test_graphql2/queries/__generated__/human_with_args.data.gql.g.dart';
import 'package:ferry_test_graphql2/queries/__generated__/human_with_args.req.gql.dart';
import 'package:ferry_test_graphql2/queries/__generated__/human_with_args.req.gql.g.dart';
import 'package:ferry_test_graphql2/queries/__generated__/human_with_args.var.gql.dart';
import 'package:ferry_test_graphql2/queries/__generated__/human_with_args.var.gql.g.dart';
import 'package:ferry_test_graphql2/queries/__generated__/review_by_id.ast.gql.dart';
import 'package:ferry_test_graphql2/queries/__generated__/review_by_id.data.gql.dart';
import 'package:ferry_test_graphql2/queries/__generated__/review_by_id.data.gql.g.dart';
import 'package:ferry_test_graphql2/queries/__generated__/review_by_id.req.gql.dart';
import 'package:ferry_test_graphql2/queries/__generated__/review_by_id.req.gql.g.dart';
import 'package:ferry_test_graphql2/queries/__generated__/review_by_id.var.gql.dart';
import 'package:ferry_test_graphql2/queries/__generated__/review_by_id.var.gql.g.dart';
import 'package:ferry_test_graphql2/queries/__generated__/reviews.ast.gql.dart';
import 'package:ferry_test_graphql2/queries/__generated__/reviews.data.gql.dart';
import 'package:ferry_test_graphql2/queries/__generated__/reviews.data.gql.g.dart';
import 'package:ferry_test_graphql2/queries/__generated__/reviews.req.gql.dart';
import 'package:ferry_test_graphql2/queries/__generated__/reviews.req.gql.g.dart';
import 'package:ferry_test_graphql2/queries/__generated__/reviews.var.gql.dart';
import 'package:ferry_test_graphql2/queries/__generated__/reviews.var.gql.g.dart';
import 'package:ferry_test_graphql2/schema/__generated__/schema.ast.gql.dart';
import 'package:ferry_test_graphql2/schema/__generated__/schema.schema.gql.dart';
import 'package:ferry_test_graphql2/schema/__generated__/schema.schema.gql.g.dart';
import 'package:ferry_test_graphql2/schema/__generated__/serializers.gql.dart';
import 'package:ferry_test_graphql2/schema/__generated__/serializers.gql.g.dart';