diff --git a/packages/graphql_flutter/analysis_options.yaml b/packages/graphql_flutter/analysis_options.yaml deleted file mode 100644 index a1dc66d51..000000000 --- a/packages/graphql_flutter/analysis_options.yaml +++ /dev/null @@ -1,6 +0,0 @@ -include: package:pedantic/analysis_options.yaml - -analyzer: - exclude: - - test/_data/** - - lib/**/** diff --git a/packages/graphql_flutter/lib/src/widgets/mutation.dart b/packages/graphql_flutter/lib/src/widgets/mutation.dart index 7c26de854..11e180301 100644 --- a/packages/graphql_flutter/lib/src/widgets/mutation.dart +++ b/packages/graphql_flutter/lib/src/widgets/mutation.dart @@ -36,6 +36,7 @@ class MutationState extends State { ObservableQuery observableQuery; WatchQueryOptions get _options => WatchQueryOptions( + // ignore: deprecated_member_use document: widget.options.document, documentNode: widget.options.documentNode, variables: widget.options.variables, diff --git a/packages/graphql_flutter/lib/src/widgets/query.dart b/packages/graphql_flutter/lib/src/widgets/query.dart index 887a8fd32..d21e4a1ca 100644 --- a/packages/graphql_flutter/lib/src/widgets/query.dart +++ b/packages/graphql_flutter/lib/src/widgets/query.dart @@ -39,6 +39,7 @@ class QueryState extends State { final QueryOptions options = widget.options; return WatchQueryOptions( + // ignore: deprecated_member_use document: options.document, documentNode: options.documentNode, variables: options.variables,