We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
graphql-tag
@graphql-codegen/typescript-react-apollo
It looks like many of the other packages have this same issue but I haven't confirmed each one.
When following the typescript-react-apollo install instructions at:
typescript-react-apollo
https://the-guild.dev/graphql/codegen/plugins/typescript/typescript-react-apollo#installation
yarn add --dev @graphql-codegen/typescript-react-apollo
I receive a warning:
warning " > @graphql-codegen/typescript-react-apollo@3.3.7" has unmet peer dependency "graphql-tag@^2.0.0".
Looking at the package.json, graphql-tag is indeed defined in peerDependencies:
peerDependencies
graphql-code-generator-community/packages/plugins/typescript/react-apollo/package.json
Lines 39 to 42 in d334e80
But graphql-tag is not imported in any of the three src/ directory files:
src/
https://github.com/dotansimha/graphql-code-generator-community/tree/d334e8045f30b7995d22deb69a01237018396214/packages/plugins/typescript/react-apollo/src
graphql-tag is only imported once in the tests/ directory:
tests/
https://github.com/dotansimha/graphql-code-generator-community/tree/d334e8045f30b7995d22deb69a01237018396214/packages/plugins/typescript/react-apollo/tests/react-apollo.spec.ts#L2
Should graphql-tag instead be defined in devDependencies? 🤔
devDependencies
And if graphql-tag is indeed required:
graphql
@graphql-codegen/cli
@graphql-codegen/typescript
@graphql-codegen/typescript-document-nodes
@graphql-codegen/typescript-operations
The text was updated successfully, but these errors were encountered:
Released @graphql-codegen/typescript-react-apollo@4.3.1
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Which packages are impacted by your issue?
@graphql-codegen/typescript-react-apollo
It looks like many of the other packages have this same issue but I haven't confirmed each one.
Describe the bug
When following the
typescript-react-apollo
install instructions at:https://the-guild.dev/graphql/codegen/plugins/typescript/typescript-react-apollo#installation
I receive a warning:
Looking at the package.json,
graphql-tag
is indeed defined inpeerDependencies
:graphql-code-generator-community/packages/plugins/typescript/react-apollo/package.json
Lines 39 to 42 in d334e80
But
graphql-tag
is not imported in any of the threesrc/
directory files:https://github.com/dotansimha/graphql-code-generator-community/tree/d334e8045f30b7995d22deb69a01237018396214/packages/plugins/typescript/react-apollo/src
graphql-tag
is only imported once in thetests/
directory:https://github.com/dotansimha/graphql-code-generator-community/tree/d334e8045f30b7995d22deb69a01237018396214/packages/plugins/typescript/react-apollo/tests/react-apollo.spec.ts#L2
Should
graphql-tag
instead be defined indevDependencies
? 🤔Steps to Reproduce the Bug or Issue
Expected behavior
And if
graphql-tag
is indeed required:graphql-tag
is required to be installed.Platform
graphql
version: 15.8.0@graphql-codegen/cli
version: 3.2.2@graphql-codegen/typescript
version: 3.0.2@graphql-codegen/typescript-document-nodes
version: 2.3.12@graphql-codegen/typescript-operations
version: 3.0.2@graphql-codegen/typescript-react-apollo
version: 3.3.7The text was updated successfully, but these errors were encountered: