Skip to content

Commit b8eac26

Browse files
committed
Lock version, update comment
1 parent 2c3602d commit b8eac26

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

packages/web/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@
146146
"@redwoodjs/auth": "workspace:*",
147147
"@redwoodjs/server-store": "workspace:*",
148148
"@whatwg-node/fetch": "0.9.19",
149-
"apollo-upload-client": "^18.0.1",
149+
"apollo-upload-client": "18.0.1",
150150
"core-js": "3.37.1",
151151
"graphql": "16.9.0",
152152
"graphql-sse": "2.5.3",

packages/web/src/apollo/index.tsx

+2-1
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,8 @@ const ApolloProviderWithFetchConfig: React.FunctionComponent<{
226226
const uploadLink: ApolloLink = createUploadLink({
227227
uri,
228228
...httpLinkConfig,
229-
// The upload link types don't seem to match the ApolloLink types, even though it comes from Apollo.
229+
// The upload link types don't match the ApolloLink types, even though it comes from Apollo
230+
// because they use ESM imports and we're using the default ones.
230231
}) as unknown as ApolloLink
231232

232233
// Our terminating link needs to be smart enough to handle subscriptions, and if the GraphQL query

yarn.lock

+2-2
Original file line numberDiff line numberDiff line change
@@ -8829,7 +8829,7 @@ __metadata:
88298829
"@types/react": "npm:^18.2.55"
88308830
"@types/react-dom": "npm:^18.2.19"
88318831
"@whatwg-node/fetch": "npm:0.9.19"
8832-
apollo-upload-client: "npm:^18.0.1"
8832+
apollo-upload-client: "npm:18.0.1"
88338833
concurrently: "npm:8.2.2"
88348834
core-js: "npm:3.37.1"
88358835
graphql: "npm:16.9.0"
@@ -12194,7 +12194,7 @@ __metadata:
1219412194
languageName: node
1219512195
linkType: hard
1219612196

12197-
"apollo-upload-client@npm:^18.0.1":
12197+
"apollo-upload-client@npm:18.0.1":
1219812198
version: 18.0.1
1219912199
resolution: "apollo-upload-client@npm:18.0.1"
1220012200
dependencies:

0 commit comments

Comments
 (0)