Comments (10)
Here's the simplest repro I can make (I grabbed the schema from the graphql-js project codebase) https://github.com/AndrewIngram/vscode-graphql-repro
I'm not seeing any jump-to-definition behaviour on anything.
from vscode-graphql.
@AndrewIngram : Thanks for raising the issue. Can you please provide a minimal reproduction (or the single graphql file) as a github gist/repo? Will expedite things at my end.
I will look into it tomorrow evening or over the weekend. Thanks.
from vscode-graphql.
@AndrewIngram : Also, Generally, one file schema jump should work without the includes. But what are you trying to jump on? We currently support it for Enum, types and input types only. Not scalars etc.
from vscode-graphql.
Thanks! I will look into it asap and revert. I have to test it with .graphqlconfig
- JSON but in the meantime, would it be possible to use the yml
format and rename config to .graphqlconfig.yml
.
That might work. Thanks.
from vscode-graphql.
Type:
Enum:
from vscode-graphql.
I've changed the repro to use yaml, but it hasn't made any difference
from vscode-graphql.
@AndrewIngram : Thanks, I will look into this soon and revert :)
from vscode-graphql.
@AndrewIngram : Ah! the problem is that due to #18, extension thinks that schema is not valid and is unable to parse it.
Because interface
and &
is just a valid SDL after the latest spec release (June-2018) and we do not support that yet.
Need to make the graphql-language-service
support graphql-js
version 0.14
.
I will try to pick this up soon.
from vscode-graphql.
Created an issue https://github.com/graphql/graphql-language-service/issues/244 to track the progress of this.
from vscode-graphql.
@AndrewIngram check out 0.3.1! I still need to expose the option to use .graphql files as source for 0.3.2 (by default generates from projectConfig.getSchema()
result), but at least you'll have jump to definition!
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.