Added skip options to queries to avoid automatic query subscription
This allow you to subscribe/unsubscribe an observer. For example useful to disable query fetches when your not authentified and you know the server will reject you.
Redefined unsubscribe() so it automatically remove subscribtion from _apolloSubscriptions array
Just a small rewriting of unsubscribe (as you did with subscribe) to clean the subscribtion array
Return observer subscription in method _subscribeObservers()
Just because I've needed it to unsubscribe when skip option comes to true.
Added skip options to queries to avoid automatic query subscription This allow you to subscribe/unsubscribe an observer. For example useful to disable query fetches when your not authentified and you know the server will reject you.
Redefined unsubscribe() so it automatically remove subscribtion from _apolloSubscriptions array Just a small rewriting of unsubscribe (as you did with subscribe) to clean the subscribtion array
Return observer subscription in method _subscribeObservers() Just because I've needed it to unsubscribe when skip option comes to true.
Hope you'll like it. Anthony.