Comments (6)
Seeing this on the 0.0.8 I got from the marketplace.
ZEBRA 1: undefined undefined
ZEBRA: GraphQLProjectConfig {
config:
{ schemaPath: './services-js/commissions-app/graphql/schema.graphql',
includes: [ './services-js/commissions-app/src/client/**/*.{graphql,ts,tsx,js,jsx}' ],
extensions: { endpoints: [Object] } },
configPath: '/Users/FinneganHopkins/Source/monorepo/.graphqlconfig',
projectName: 'commissions-app' } /Users/FinneganHopkins/Source/monorepo/services-js/commissions-app/graphql/schema.graphql
Query file (./services-js/commissions-app/src/client/graphql/test.graphql
):
query {
commissions {
applyUrl
}
}
from vscode-graphql.
The same happens for graphql-server-example/queries/queries.graphql
from vscode-graphql.
Fixed via prisma-labs/graphql-prisma-typescript#246
Also, you are on an older version of extension. Can you please download it via the marketplace?
from vscode-graphql.
I did!
from vscode-graphql.
Reproduction:
- Create a
create-react-app
with TypeScript (create-react-app my-app --scripts-version=react-scripts-ts
from https://github.com/wmonk/create-react-app-typescript) - Add
graphql-tag
andgraphql
to project - Install the plugin to VSCode
- Clone an exisiting schema (or fetch your own) into
schema.graphql
in project root - Go into
App.tsx
and add
import gql from 'graphql-tag';
const TEST_QUERY = gql`
query {
// Expect automagical Intellisense and validation, be disappointed :)
}
`
- Check the "Output" pane in VS Code for
GraphQL Language Server
, see
ZEBRA 1: undefined undefined
ZEBRA: GraphQLProjectConfig {
config:
{ schemaPath: 'schema.graphql',
includes: [ 'schema.graphql' ],
extensions: { endpoints: [Object] } },
configPath: '[path to project]/.graphqlconfig.yaml',
projectName: 'app' } [path to project]/schema.graphql
from vscode-graphql.
@marktani The original problem of vague logs in output "GraphQL Language Server" are resolved in 0.0.9
.
The issue with autocomplete can be logged following these instructions and is unrelated to output "GraphQL Language Server" logs.
I will investigate it further under this issue (#21). Closing this one.
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.