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

feat(graphql_flutter): Decouple GraphQLClient Provider #1108

Closed budde377 closed 2 years ago

budde377 commented 2 years ago

This PR provides widgets and hooks variants which does not depend on the GraphQL Client Provider (see #640)

codecov[bot] commented 2 years ago

Codecov Report

Merging #1108 (5effdf6) into main (90e5d45) will decrease coverage by 0.43%. The diff coverage is 53.84%.

:exclamation: Current head 5effdf6 differs from pull request most recent head 750ca05. Consider uploading reports for the commit 750ca05 to get more accurate results

@@            Coverage Diff             @@
##             main    #1108      +/-   ##
==========================================
- Coverage   60.01%   59.57%   -0.44%     
==========================================
  Files          41       41              
  Lines        1528     1561      +33     
==========================================
+ Hits          917      930      +13     
- Misses        611      631      +20     
Impacted Files Coverage Δ
...raphql_flutter/lib/src/widgets/hooks/mutation.dart 0.00% <0.00%> (ø)
...ages/graphql_flutter/lib/src/widgets/mutation.dart 0.00% <0.00%> (ø)
...hql_flutter/lib/src/widgets/hooks/watch_query.dart 68.29% <25.00%> (-10.09%) :arrow_down:
...s/graphql_flutter/lib/src/widgets/hooks/query.dart 81.25% <50.00%> (-18.75%) :arrow_down:
...ql_flutter/lib/src/widgets/hooks/subscription.dart 54.16% <50.00%> (-4.53%) :arrow_down:
...ackages/graphql_flutter/lib/src/widgets/query.dart 100.00% <100.00%> (ø)
.../graphql_flutter/lib/src/widgets/subscription.dart 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 90e5d45...750ca05. Read the comment docs.