-
-
Notifications
You must be signed in to change notification settings - Fork 153
@apollo/client should be a peer dependency #251
Copy link
Copy link
Closed
Description
It doesn't seem to be correct that @apollo/client is a regular dependency.
apollo-upload-client/src/public/createUploadLink.js
Lines 3 to 12 in 6dec8ed
| const { ApolloLink, Observable } = require('@apollo/client/core'); | |
| const { | |
| createSignalIfSupported, | |
| fallbackHttpConfig, | |
| parseAndCheckHttpResponse, | |
| rewriteURIForGET, | |
| selectHttpOptionsAndBody, | |
| selectURI, | |
| serializeFetchParameter, | |
| } = require('@apollo/client/link/http'); |
Instead, it should be in peerDependencies.
I noticed this while exploring an app's dependencies, and I noticed that @apollo/client was included twice in the resulting installation.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels