mattkrick / cashay

:moneybag: Relay for the rest of us :moneybag:
MIT License
453 stars 28 forks source link

forceFetch: false not hitting graphql server #123

Closed mmmdreg closed 7 years ago

mmmdreg commented 7 years ago

Playing with cashay in a new app. Used it in two containers: one for a collection of widgets, one for the details of a single widget.

With {forceFetch: false}, the graphql server is never hit (for both containers), and I can see the cashay state is empty. When true, it hits the server and everything works.

I'm wondering why it doesn't hit the server when set to false, even when the state is empty so it can't possibly be able to get the fields locally.