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

fix(client): subscription hook return an uninitialized stream #1078

Closed PainteR closed 2 years ago

PainteR commented 2 years ago

Fixes / Enhancements

This PR fixes the useSubscription hook error LateInitializationError: Field 'stream' has not been initialized.