-
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
Is relaypagination() appending new collection to existing collection? #7207
Comments
Are you providing an You might also try setting a breakpoint (or |
I provided |
@albuen03 Would you mind sharing your solution? I am facing similar issues and it seems like we have a similar approach to our pagination variables. |
I am having the same behavior and I don't this is normal. Shouldn't it append new data on old list instead of overwrite the whole list ?
|
@tsnieman @firmanjml I created somewhat like, in the typePolicies
It appends the data to the existing collection. |
I am having a strange behavior using I have tried to modify the If I don't try to modify the cache in the mutation and let the subscription handle the merge with Can anyone help me? Edit: After more debugging it seems that the refs are OK after my Also, whenever I'm adding a new item to a list with relay pagination style, should I create a reference of the node or how should I do it? At the moment, i have a reference for the node only:
Edit 2: I found out that This will be solved in v3.4 |
@firmanjml |
Any news? |
Hi folks, this issue is a bit stale and it appears that this may have been resolved in #4141. If folks are still experiencing similar issues in the latest client version please do feel free to open a new issue or ping this one and we can consider re-opening depending on the details. Thanks so much all! |
I am working using relay pagination. I want to append incoming edges to the existing edges but relay pagination keeps on overriding existing edges. Is this a normal behavior?
The text was updated successfully, but these errors were encountered: