snowballdigital / flutter-graphql

A GraphQL client for Flutter, bringing all the features from a modern GraphQL client to one easy to use package. Built after react apollo
MIT License
47 stars 7 forks source link

pollInterval should not poll the server when set to zero #10

Open mainawycliffe opened 5 years ago

mainawycliffe commented 5 years ago

Describe the bug When pollInterval is set to zero, it constantly polls to the server, without stopping. Since it follows Apollo GrapphQL patterns, this should disable polling altogether.

To Reproduce

Set pollInterval to 0 at QueryOptions

Expected behavior Should disable polling altogether

juicycleff commented 5 years ago

A lot of the functionality needs to be tested though. We could have like a swift talk sometime this week and see how to improve all the features in it. Personally, I think we need to outline all the missing feature and unstable ones with react apollo as our guide.

mainawycliffe commented 5 years ago

Yeah, I agree. We can use GitHub Projects to keep track of everything.