Confusing configuration in README
See original GitHub issueI’m trying to configure this plugin for a project that uses Apollo Client. The short story, I cannot make this plugin work for now. The long story:
I’m going through the README step by step and I cannot manage to make it work. My graphQL server is not running on Apollo Engine, I don’t know if this makes a difference or not. Following the README:
- Ensure that you have the @playlyfe/gql library (v2.x) installed and available to this extension. If you’ve installed the library in a folder other than the workspace root, then add the path to the node_modules directory as a setting:
I do have @playlyfe/gql
(2.6.1) installed in my project so I guess I don’t have to do anything here. However, what is add the path to the node_modules directory as a setting? What settings? In which settings file vscode extension settings?
- Ensure you have watchman installed
This is all good
- Create a .gqlconfig file
Okay, I’ve done that. It’s a bit confusing because my client project doesn’t have .gql
or .graphql
files. I’m using the gql
template literal.
- Enable auto-complete
I’ve tried this, even tho I don’t have the field validation working or the syntax highlighting neither.
I cannot see any errors in the logs or maybe I’m not looking at the right place. Anyone can help? I swear that once I have it working I’ll create a PR to clarify the setup or maybe the troubleshooting.
Issue Analytics
- State:
- Created 4 years ago
- Comments:26 (16 by maintainers)
And I think that’s it! Thank you so much!
It’s working great now. I’ll submit a PR by the end of the week to improve the readme. Thanks again a lot for your time
Here is the PR https://github.com/kumarharsh/graphql-for-vscode/pull/171/files