-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Please don't remove updateQuery. #8915
Comments
The whole point of hand-written |
Good news (I hope) @j3pic @d4rky-pl @dylanwulf: we removed the deprecation warning for This means we will not be removing Threatening to deprecate My only advice for using Long story short: you should no longer see the |
Hey all 👋 I know its been some time since the last update, but I wanted to draw attention to #11974 which fixes an issue with As such, we are solidifying the use of Since this issue is now almost 3 years old, I'm going to close it out since the warning that originally prompted this issue has been removed and we don't plan to to deprecate this again anytime in the near future. Thanks! |
Do you have any feedback for the maintainers? Please tell us by taking a one-minute survey. Your responses will help us understand Apollo Client usage and allow us to serve you better. |
I'm just learning how to use this client by working on an existing app that uses it.
While building a new
react-hoc
component, I ran into this:I've never heard of "field policies", and this software is already complicated enough as it is.
I took a quick look at StackOverflow, only to learn that I'll also have to figure out how to integrate some cache mechanism into my code. The SO answer only shows how to create the cache, not what to do with it.
I don't really want to go down the field-policy rabbit hole. I just want to be able to update the data with a new query. I'm not using
fetchMore
strictly to implement pagination. I notice that withupdateQuery
,fetchMore
is perfectly sufficient to allow implementation of a filter function. I've figured this out the hard way, since the documentation is written as if pagination is the only thing you'd ever want to do withfetchMore
.And then there appear to be bugs associated with the read and merge functions. I just don't want to deal with it. Please allow working code to continue working.
The text was updated successfully, but these errors were encountered: