Skip to content

Add caution to schema testing doc #12596

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 5 commits into from
May 7, 2025
Merged

Conversation

jerelmiller
Copy link
Member

We will be removing the experimental testing utilities in v4 (#12595) now that we've launched GraphQL Testing Library. This PR adds a caution block to the beginning of the page that warns of the upcoming removal of the API.

Preview:
Screenshot 2025-04-29 at 4 42 17 PM

@jerelmiller jerelmiller requested a review from a team as a code owner April 29, 2025 22:43
Copy link

changeset-bot bot commented Apr 29, 2025

⚠️ No Changeset found

Latest commit: 7b9b8c1

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link

pkg-pr-new bot commented Apr 29, 2025

npm i https://pkg.pr.new/@apollo/client@12596

commit: 7b9b8c1

Copy link
Contributor

github-actions bot commented Apr 29, 2025

size-limit report 📦

Path Size
dist/apollo-client.min.cjs 41.34 KB (0%)
import { ApolloClient, InMemoryCache, HttpLink } from "@apollo/client" (CJS) 50.79 KB (0%)
import { ApolloClient, InMemoryCache, HttpLink } from "@apollo/client" (production) (CJS) 47.88 KB (0%)
import { ApolloClient, InMemoryCache, HttpLink } from "@apollo/client" 36.33 KB (0%)
import { ApolloClient, InMemoryCache, HttpLink } from "@apollo/client" (production) 33.73 KB (0%)
import { ApolloProvider } from "@apollo/client/react" 1.26 KB (0%)
import { ApolloProvider } from "@apollo/client/react" (production) 1.24 KB (0%)
import { useQuery } from "@apollo/client/react" 10.09 KB (0%)
import { useQuery } from "@apollo/client/react" (production) 9.02 KB (0%)
import { useLazyQuery } from "@apollo/client/react" 9.48 KB (0%)
import { useMutation } from "@apollo/client/react" 3.62 KB (0%)
import { useMutation } from "@apollo/client/react" (production) 2.84 KB (0%)
import { useSubscription } from "@apollo/client/react" 4.42 KB (0%)
import { useSubscription } from "@apollo/client/react" (production) 3.48 KB (0%)
import { useSuspenseQuery } from "@apollo/client/react" 5.89 KB (0%)
import { useSuspenseQuery } from "@apollo/client/react" (production) 4.55 KB (0%)
import { useBackgroundQuery } from "@apollo/client/react" 5.38 KB (0%)
import { useBackgroundQuery } from "@apollo/client/react" (production) 4.04 KB (0%)
import { useLoadableQuery } from "@apollo/client/react" 5.47 KB (0%)
import { useLoadableQuery } from "@apollo/client/react" (production) 4.12 KB (0%)
import { useReadQuery } from "@apollo/client/react" 3.43 KB (0%)
import { useReadQuery } from "@apollo/client/react" (production) 3.37 KB (0%)
import { useFragment } from "@apollo/client/react" 2.36 KB (0%)
import { useFragment } from "@apollo/client/react" (production) 2.31 KB (0%)

@svc-apollo-docs
Copy link

svc-apollo-docs commented Apr 29, 2025

✅ Docs preview ready

The preview is ready to be viewed. View the preview

File Changes

0 new, 1 changed, 0 removed
* (developer-tools)/react/(latest)/development-testing/schema-driven-testing.mdx

Build ID: ec80f8f91a0adf74cf60da99

URL: https://www.apollographql.com/docs/deploy-preview/ec80f8f91a0adf74cf60da99

Copy link
Contributor

@Meschreiber Meschreiber left a comment

Choose a reason for hiding this comment

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

Just a small suggestion to give users more precise information, but otherwise LGTM!

jerelmiller and others added 3 commits May 7, 2025 08:46
@jerelmiller jerelmiller merged commit fdf05c7 into main May 7, 2025
40 of 41 checks passed
@jerelmiller jerelmiller deleted the jerel/update-schema-testing-docs branch May 7, 2025 14:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants