Skip to content

[v2] ApolloClientProtocol and Test Deprecation Cleanup #698

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

Merged
merged 4 commits into from
Jul 22, 2025

Conversation

AnthonyMDev
Copy link
Contributor

Removes ApolloClientProtocol. This isn't really needed anymore internally and users shouldn't be mocking ApolloClient in their tests, they should instead be creating a mock NetworkTransport.

Also cleans up tests that were using the deprecated 1.0 fetch functions.

@apollo-librarian
Copy link

apollo-librarian bot commented Jul 3, 2025

⚠️ Docs preview not attached to branch

The preview was not built because the PR's base branch v2-staging is not in the list of sources.

An Apollo team member can comment one of the following commands to dictate which branch to attach the preview to:

  • !docs set-base-branch main

Build ID: 6253298ae7a86e30861c02b5

@calvincestari
Copy link
Member

Looks like some build errors preventing test from running.

@AnthonyMDev AnthonyMDev changed the base branch from v2-staging to v2-ci-fixes July 15, 2025 17:19
@AnthonyMDev AnthonyMDev force-pushed the v2-test-deprecation-cleanup branch from 11e6c2d to 8d21df2 Compare July 16, 2025 20:44
Base automatically changed from v2-ci-fixes to v2-staging July 22, 2025 18:06
@AnthonyMDev AnthonyMDev merged commit bb1d005 into v2-staging Jul 22, 2025
11 of 14 checks passed
@AnthonyMDev AnthonyMDev deleted the v2-test-deprecation-cleanup branch July 22, 2025 18:07
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.

2 participants