Comments (9)
Would you please confirm whether this is broken so I can maybe try to fix it, or is it problem of my configuration? Maybe some bad global dependencies?
Current:
Prisma: prisma/1.14.2 (darwin-x64) node-v10.9.0
Graphql: 2.16.5
from vscode-graphql.
@tomitrescak mine isn't working either.
from vscode-graphql.
Confirming - same issue, worth mentioning running on code-insiders. quadruple checked the graphql config files, paths, schemas
from vscode-graphql.
@divyenduz you mention "Needs Reproduction", but I mentioned two repos where it does not work. You can just try the following one:
https://github.com/prisma/graphql-server-example
Thanks for looking into this. The plugin is otherwise spectacular!
from vscode-graphql.
I'm running into the same issue with a Gatsby (graphql) project as well.
from vscode-graphql.
It'd be nice if somebody could look into this issue.
from vscode-graphql.
Thanks all for the feedback. Can any of you please share the logs for GraphQL Language Service? From your environment: https://github.com/prisma/vscode-graphql#a-testinglogging-graphql-language-features
from vscode-graphql.
Ok so I followed the instructions here's what my log shows:
Which to me makes absolutely no sense, and how is it related to Go to definition
not working.
from vscode-graphql.
@chanlito : It looks like you have the same fields on mutation type (maybe you are using schema stitching or something or maybe it is a multi-repo project - extension cannot tell if different files belong to different projects, if they have duplicates).
This fails extendSchema
from graphql-js
being used by the graphql-language-service.
Here is an example of how this might be going wrong: https://codesandbox.io/s/34lvxl4pn1
Posted this information here for anyone who might attempt a fix for this. This might require big changes in the language service.
from vscode-graphql.
Related Issues (20)
- Add support for graphql.config.ts HOT 4
- Extension issue
- Nothing works except highlighting HOT 10
- Inline fragment(s) not working HOT 6
- Query result does not display tags HOT 2
- 0.3.21 does not load: Cannot find module 'react' HOT 1
- Known Issues, Maintainers & Contributors Needed
- Roadmap
- GraphQL icon clutter HOT 3
- Cannot execute any query or mutation
- Dependency Dashboard
- How do i disable "Execute Query"? HOT 1
- Syntax Error in .vue files HOT 4
- Action Required: Fix Renovate Configuration
- This Extension Has Been Migrated! HOT 2
- GraphQL Configuration not pulling in JWT from environment. HOT 3
- Incorrect deployment to 0.3.50 HOT 1
- Extension crashed on VSCode 1.66.0 (Reading 'timeoutType') HOT 1
- Autocomplete does not work at all HOT 3
- GraphQL language server fails to start due to `Cannot read properties of undefined (reading 'timeoutType')` HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode-graphql.