GraphQL as direct dependency in CLI #162
Replies: 2 comments
-
It won't conflict because the CLI does not operate on classes of graphql-js, we won't hit instanceof. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Implemented in v0.17.0 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
As of today, the CLI has
graphql
as a peer dependency. The reason for it was to avoid forcing a specific version of GraphQL and let users install the CLI in their repository and not globally. Same story as with graphql-codegen cli.This creates a limitation like #131.
My proposal is to turn
graphql
into a direct dependency. See the usage ofgraphql
in the CLI.Pull Request with the implementation
Beta Was this translation helpful? Give feedback.
All reactions