-
Notifications
You must be signed in to change notification settings - Fork 718
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
Caching callbacks are not working when we use combine in iOS Swift #3429
Comments
@calvincestari can you check this question? |
Hi @ArunVicky001 - I can't see anything obviously wrong with the code, it all appears correct. There is no logging in the Given that you're seeing |
Hi @calvincestari Thanks for responding me, I had tested this code apollo client gives response twice, The second callback from fetchValue is not being captured from myRequest. I’m expecting to see both API responses in the output, but the second one is missing. It seems like Why is fetchValue not capturing the second callback? How can I ensure that both callbacks are properly captured and handled by using Note: I had edited the code |
I believe That said, this is not an issue with |
Do you have any feedback for the maintainers? Please tell us by taking a one-minute survey. Your responses will help us understand Apollo iOS usage and allow us to serve you better. |
Question
I am using in memory caching, my code is not capturing the second call back.
output:
Is working on a Swift function that involves handling GraphQL queries using Combine's
AnyPublisher
. They are encountering an issue where their function is not capturing the second callback as expected.The text was updated successfully, but these errors were encountered: