zino-hofmann / graphql-flutter

A GraphQL client for Flutter, bringing all the features from a modern GraphQL client to one easy to use package.
https://zino-hofmann.github.io/graphql-flutter
MIT License
3.25k stars 620 forks source link

ci: remove the spec dependences #1243

Closed vincenzopalazzo closed 2 years ago

vincenzopalazzo commented 2 years ago

Recently one of the test ran spec is break for some reason and one of the solution stolen around is remove it

Credit https://github.com/dart-lightning/lndart.cln/pull/106

This Pr fix the following build error in the CI

Failed to build spec_cli:main:
/opt/hostedtoolcache/flutter/3.3.3-stable/x64/.pub-cache/hosted/pub.dartlang.org/spec_cli-0.1.2+2/lib/src/command_runner.dart:148:31: Error: The argument type 'AlwaysAliveRefreshable<StateController<RegExp?>>' can't be assigned to the parameter type 'ProviderBase<dynamic>'.
 - 'AlwaysAliveRefreshable' is from 'package:riverpod/src/framework.dart' ('/opt/hostedtoolcache/flutter/3.3.3-stable/x64/.pub-cache/hosted/pub.dartlang.org/riverpod-2.0.2/lib/src/framework.dart').
 - 'StateController' is from 'package:riverpod/src/state_controller.dart' ('/opt/hostedtoolcache/flutter/3.3.3-stable/x64/.pub-cache/hosted/pub.dartlang.org/riverpod-2.0.2/lib/src/state_controller.dart').
 - 'RegExp' is from 'dart:core'.
 - 'ProviderBase' is from 'package:riverpod/src/framework.dart' ('/opt/hostedtoolcache/flutter/3.3.3-stable/x64/.pub-cache/hosted/pub.dartlang.org/riverpod-2.0.2/lib/src/framework.dart').
    ref.read($testNameFilters.notifier).state = options.testNameFilters.isEmpty