Open
Description
Actual Behavior
Simple typeDefs.gql
file throws Syntax Error: Expected Name, found "}".GraphQL: Syntax
type Test {
id: ID!
}
type Query {
test(id: ID!): Test
}
Expected Behavior
There should not be an error.
Steps to Reproduce the Problem Or Description
Create file with contents above.
Specifications
- GraphQL for VSCode Extension Version: 0.3.41
- VSCode Version: 1.63.2
- OS Name: Win 10
- OS Version: 21H2
- graphql config filename and format example:
.graphqlrc
{
"schema": "http://localhost:4000/graphql",
"documents": "packages/*/src/**/*.{graphql,gql,js,ts,jsx,tsx}",
"extensions": {
"endpoints": {
"default": {
"url": "http://localhost:4000"
}
}
}
}