Closed jerelmiller closed 2 months ago
Latest commit: 6a2a365a253cfcca0445b09a827cfd7d51551870
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.
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
Path | Size |
---|---|
dist/apollo-client.min.cjs | 39.89 KB (+1.44% 🔺) |
import { ApolloClient, InMemoryCache, HttpLink } from "dist/main.cjs" | 49.05 KB (+2.2% 🔺) |
import { ApolloClient, InMemoryCache, HttpLink } from "dist/main.cjs" (production) | 46.18 KB (+1.34% 🔺) |
import { ApolloClient, InMemoryCache, HttpLink } from "dist/index.js" | 35.45 KB (+3.05% 🔺) |
import { ApolloClient, InMemoryCache, HttpLink } from "dist/index.js" (production) | 32.88 KB (+1.87% 🔺) |
import { ApolloProvider } from "dist/react/index.js" | 1.26 KB (0%) |
import { ApolloProvider } from "dist/react/index.js" (production) | 1.24 KB (+0.16% 🔺) |
import { useQuery } from "dist/react/index.js" | 5.21 KB (-0.02% 🔽) |
import { useQuery } from "dist/react/index.js" (production) | 4.3 KB (+0.03% 🔺) |
import { useLazyQuery } from "dist/react/index.js" | 5.7 KB (+0.07% 🔺) |
import { useLazyQuery } from "dist/react/index.js" (production) | 4.77 KB (+0.03% 🔺) |
import { useMutation } from "dist/react/index.js" | 3.62 KB (+0.03% 🔺) |
import { useMutation } from "dist/react/index.js" (production) | 2.84 KB (+0.04% 🔺) |
import { useSubscription } from "dist/react/index.js" | 4.41 KB (+0.05% 🔺) |
import { useSubscription } from "dist/react/index.js" (production) | 3.46 KB (0%) |
import { useSuspenseQuery } from "dist/react/index.js" | 5.49 KB (+0.02% 🔺) |
import { useSuspenseQuery } from "dist/react/index.js" (production) | 4.15 KB (+0.03% 🔺) |
import { useBackgroundQuery } from "dist/react/index.js" | 4.99 KB (0%) |
import { useBackgroundQuery } from "dist/react/index.js" (production) | 3.64 KB (0%) |
import { useLoadableQuery } from "dist/react/index.js" | 5.07 KB (+0.04% 🔺) |
import { useLoadableQuery } from "dist/react/index.js" (production) | 3.72 KB (+0.08% 🔺) |
import { useReadQuery } from "dist/react/index.js" | 3.39 KB (+0.06% 🔺) |
import { useReadQuery } from "dist/react/index.js" (production) | 3.33 KB (0%) |
import { useFragment } from "dist/react/index.js" | 2.32 KB (0%) |
import { useFragment } from "dist/react/index.js" (production) | 2.27 KB (+0.05% 🔺) |
Name | Link |
---|---|
Latest commit | 9a8ef8866b8ef2460642f9c4f244aa57bbc14303 |
Latest deploy log | https://app.netlify.com/sites/apollo-client-docs/deploys/66c62e5575e1e20008b56e07 |
Deploy Preview | https://deploy-preview-12014--apollo-client-docs.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
Because we try and retain object identities as much as possible when running the data masking algorithm, this causes an issue where would-be masked fields are returned in the query when a named fragment selects additional fields on the same child selection as the query.
For example, take this query:
Here the parent asks only for the
id
on theprofile
field while theUserFields
fragment selectsage
onprofile
as well. Prior to this fix, bothid
andage
were returned as part of the parent query even thoughage
should have been masked. This fix ensuresage
would be masked here as expected.