You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We built some abstractions on top of apollo links and noticed that mutating client.link property on an instance of ApolloClient does not actually propagate the link changes properly to the queryManager.
If this isn't how the client.links API is meant to be used, should we consider updating the client.link property to be a read-only property similar to the queryManager. This would help prevent folks from incorrectly using the API. Happy to PR if this is something you're interested in!
Intended outcome:
If mutating client.link the new links added should work.
Actual outcome:
If mutating client.link the new links added do not work.
Context
We built some abstractions on top of apollo links and noticed that mutating
client.link
property on an instance ofApolloClient
does not actually propagate the link changes properly to the queryManager.If this isn't how the
client.links
API is meant to be used, should we consider updating theclient.link
property to be a read-only property similar to the queryManager. This would help prevent folks from incorrectly using the API. Happy to PR if this is something you're interested in!Intended outcome:
client.link
the new links added should work.Actual outcome:
client.link
the new links added do not work.How to reproduce the issue:
Versions
The text was updated successfully, but these errors were encountered: