I had some errors in console so I did this PR to help you with evolving the package
Fixes / Enhancements
Fixed type error while using pollInterval
If try to use pollInterval option you'll get the error in console
flutter: Caught error: type 'QueryResult<dynamic>' is not a subtype of type 'QueryResult<Tickets$Query>' of 'result'
flutter: #0 ObservableQuery.addResult (package:graphql/src/core/observable_query.dart)
#1 QueryManager.addQueryResult (package:graphql/src/core/query_manager.dart:393:23)
#2 QueryManager._resolveQueryOnNetwork (package:graphql/src/core/query_manager.dart:265:7)
<asynchronous suspension>
Hi @budde377 @vincenzopalazzo
I had some errors in console so I did this PR to help you with evolving the package
Fixes / Enhancements
pollInterval
If try to use
pollInterval
option you'll get the error in console