ferry_test_graphql 0.1.0-nullsafety.1 ferry_test_graphql: ^0.1.0-nullsafety.1 copied to clipboard
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_graphql
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
ferry_test_graphql: ^0.1.0-nullsafety.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_graphql/date_serializer.dart';
import 'package:ferry_test_graphql/fragments/review_fragment.ast.gql.dart';
import 'package:ferry_test_graphql/fragments/review_fragment.data.gql.dart';
import 'package:ferry_test_graphql/fragments/review_fragment.data.gql.g.dart';
import 'package:ferry_test_graphql/fragments/review_fragment.req.gql.dart';
import 'package:ferry_test_graphql/fragments/review_fragment.req.gql.g.dart';
import 'package:ferry_test_graphql/fragments/review_fragment.var.gql.dart';
import 'package:ferry_test_graphql/fragments/review_fragment.var.gql.g.dart';
import 'package:ferry_test_graphql/mutations/scalars/review_with_date.ast.gql.dart';
import 'package:ferry_test_graphql/mutations/scalars/review_with_date.data.gql.dart';
import 'package:ferry_test_graphql/mutations/scalars/review_with_date.data.gql.g.dart';
import 'package:ferry_test_graphql/mutations/scalars/review_with_date.req.gql.dart';
import 'package:ferry_test_graphql/mutations/scalars/review_with_date.req.gql.g.dart';
import 'package:ferry_test_graphql/mutations/scalars/review_with_date.var.gql.dart';
import 'package:ferry_test_graphql/mutations/scalars/review_with_date.var.gql.g.dart';
import 'package:ferry_test_graphql/mutations/variables/create_review.ast.gql.dart';
import 'package:ferry_test_graphql/mutations/variables/create_review.data.gql.dart';
import 'package:ferry_test_graphql/mutations/variables/create_review.data.gql.g.dart';
import 'package:ferry_test_graphql/mutations/variables/create_review.req.gql.dart';
import 'package:ferry_test_graphql/mutations/variables/create_review.req.gql.g.dart';
import 'package:ferry_test_graphql/mutations/variables/create_review.var.gql.dart';
import 'package:ferry_test_graphql/mutations/variables/create_review.var.gql.g.dart';
import 'package:ferry_test_graphql/queries/aliases/aliased_hero.ast.gql.dart';
import 'package:ferry_test_graphql/queries/aliases/aliased_hero.data.gql.dart';
import 'package:ferry_test_graphql/queries/aliases/aliased_hero.data.gql.g.dart';
import 'package:ferry_test_graphql/queries/aliases/aliased_hero.req.gql.dart';
import 'package:ferry_test_graphql/queries/aliases/aliased_hero.req.gql.g.dart';
import 'package:ferry_test_graphql/queries/aliases/aliased_hero.var.gql.dart';
import 'package:ferry_test_graphql/queries/aliases/aliased_hero.var.gql.g.dart';
import 'package:ferry_test_graphql/queries/fragments/hero_with_fragments.ast.gql.dart';
import 'package:ferry_test_graphql/queries/fragments/hero_with_fragments.data.gql.dart';
import 'package:ferry_test_graphql/queries/fragments/hero_with_fragments.data.gql.g.dart';
import 'package:ferry_test_graphql/queries/fragments/hero_with_fragments.req.gql.dart';
import 'package:ferry_test_graphql/queries/fragments/hero_with_fragments.req.gql.g.dart';
import 'package:ferry_test_graphql/queries/fragments/hero_with_fragments.var.gql.dart';
import 'package:ferry_test_graphql/queries/fragments/hero_with_fragments.var.gql.g.dart';
import 'package:ferry_test_graphql/queries/interfaces/hero_for_episode.ast.gql.dart';
import 'package:ferry_test_graphql/queries/interfaces/hero_for_episode.data.gql.dart';
import 'package:ferry_test_graphql/queries/interfaces/hero_for_episode.data.gql.g.dart';
import 'package:ferry_test_graphql/queries/interfaces/hero_for_episode.req.gql.dart';
import 'package:ferry_test_graphql/queries/interfaces/hero_for_episode.req.gql.g.dart';
import 'package:ferry_test_graphql/queries/interfaces/hero_for_episode.var.gql.dart';
import 'package:ferry_test_graphql/queries/interfaces/hero_for_episode.var.gql.g.dart';
import 'package:ferry_test_graphql/queries/no_vars/hero_no_vars.ast.gql.dart';
import 'package:ferry_test_graphql/queries/no_vars/hero_no_vars.data.gql.dart';
import 'package:ferry_test_graphql/queries/no_vars/hero_no_vars.data.gql.g.dart';
import 'package:ferry_test_graphql/queries/no_vars/hero_no_vars.req.gql.dart';
import 'package:ferry_test_graphql/queries/no_vars/hero_no_vars.req.gql.g.dart';
import 'package:ferry_test_graphql/queries/no_vars/hero_no_vars.var.gql.dart';
import 'package:ferry_test_graphql/queries/no_vars/hero_no_vars.var.gql.g.dart';
import 'package:ferry_test_graphql/queries/variables/human_with_args.ast.gql.dart';
import 'package:ferry_test_graphql/queries/variables/human_with_args.data.gql.dart';
import 'package:ferry_test_graphql/queries/variables/human_with_args.data.gql.g.dart';
import 'package:ferry_test_graphql/queries/variables/human_with_args.req.gql.dart';
import 'package:ferry_test_graphql/queries/variables/human_with_args.req.gql.g.dart';
import 'package:ferry_test_graphql/queries/variables/human_with_args.var.gql.dart';
import 'package:ferry_test_graphql/queries/variables/human_with_args.var.gql.g.dart';
import 'package:ferry_test_graphql/queries/variables/reviews.ast.gql.dart';
import 'package:ferry_test_graphql/queries/variables/reviews.data.gql.dart';
import 'package:ferry_test_graphql/queries/variables/reviews.data.gql.g.dart';
import 'package:ferry_test_graphql/queries/variables/reviews.req.gql.dart';
import 'package:ferry_test_graphql/queries/variables/reviews.req.gql.g.dart';
import 'package:ferry_test_graphql/queries/variables/reviews.var.gql.dart';
import 'package:ferry_test_graphql/queries/variables/reviews.var.gql.g.dart';
import 'package:ferry_test_graphql/schema/schema.ast.gql.dart';
import 'package:ferry_test_graphql/schema/schema.schema.gql.dart';
import 'package:ferry_test_graphql/schema/schema.schema.gql.g.dart';
import 'package:ferry_test_graphql/schema/serializers.gql.dart';
import 'package:ferry_test_graphql/schema/serializers.gql.g.dart';