Skip to content

Commit

Permalink
refactor(fresh_graphql): remove graphql dependency (felangel#77)
Browse files Browse the repository at this point in the history
  • Loading branch information
2shrestha22 authored Feb 28, 2023
1 parent b4d74af commit a377ce2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion packages/fresh_graphql/lib/src/fresh_link.dart
Original file line number Diff line number Diff line change
@@ -1,7 1,8 @@
import 'dart:async';

import 'package:fresh/fresh.dart';
import 'package:graphql/client.dart';
import 'package:gql_exec/gql_exec.dart';
import 'package:gql_link/gql_link.dart';
import 'package:http/http.dart' as http;

/// Signature for `shouldRefresh` on [FreshLink].
Expand Down
3 changes: 2 additions & 1 deletion packages/fresh_graphql/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 11,8 @@ environment:

dependencies:
fresh: ^0.4.0
graphql: ^5.0.0
gql_exec: ^0.4.3
gql_link: ^0.5.1
http: ^0.13.1

dev_dependencies:
Expand Down
2 changes: 1 addition & 1 deletion packages/fresh_graphql/test/fresh_test.dart
Original file line number Diff line number Diff line change
@@ -1,7 1,7 @@
// ignore_for_file: must_be_immutable

import 'package:fresh_graphql/fresh_graphql.dart';
import 'package:graphql/client.dart';
import 'package:gql_exec/gql_exec.dart';
import 'package:mocktail/mocktail.dart';
import 'package:test/test.dart';

Expand Down

0 comments on commit a377ce2

Please sign in to comment.