DEV Community

Discussion on: Apollo state management in Vue application

Collapse
 
n_tepluhina profile image
Natalia Tepluhina

Hi Peter! I do this in Creating a local schema part. There is a note there:

Please note the empty resolvers object here: if we don't assign it to the Apollo client options, it won't recognize the queries to local state and will try to send a request to remote URL instead

Collapse
 
tarabass profile image
Peter Rietveld

I was reading that as for now we assign an empty object, else we get in trouble :P