Syntax error in typeDefs
- Dominant language
- TypeScript
- Stars
- 16.9k
- Forks
- 1.9k
- Avg merge
- 22h 45m
- Merged PRs (30d)
- 70
Description
## Actual Behavior
Simple `typeDefs.gql` file throws `Syntax Error: Expected Name, found "}".GraphQL: Syntax`
```gql
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`
```json
{
"schema": "http://localhost:4000/graphql",
"documents": "packages/*/src/**/*.{graphql,gql,js,ts,jsx,tsx}",
"extensions": {
"endpoints": {
"default": {
"url": "http://localhost:4000"
}
}
}
}
```
## Logs Of TS Server || GraphQL Language Service
Contributor guide
Assessment
This issue has not been assessed yet.