Skip to content
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

Add injecting additionalErrorHandler for upload operations to RequestChainNetworkTransport #2948

Conversation

RobertDresler
Copy link
Contributor

Currently additionalErrorHandler is not being injected to chain for Upload operations. This PR fixes it and creates makeChain(operation:callbackQueue:) method which creates chain for send and upload the same way.

@apollo-cla
Copy link

@RobertDresler: Thank you for submitting a pull request! Before we can merge it, you'll need to sign the Apollo Contributor License Agreement here: https://contribute.apollographql.com/

@netlify
Copy link

netlify bot commented Apr 11, 2023

👷 Deploy request for apollo-ios-docs pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit b5112ae

Copy link
Member

@calvincestari calvincestari left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks for the contribution @RobertDresler.

@calvincestari
Copy link
Member

I added a test to validate that the new error handler is being called for upload requests.

@calvincestari calvincestari merged commit 3aa8812 into apollographql:main Apr 11, 2023
11 checks passed
@calvincestari calvincestari mentioned this pull request Apr 12, 2023
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants