nicolaslopezj / atom-graphql-autocomplete

Autocomplete and lint from a GraphQL endpoint in atom.
MIT License
48 stars 7 forks source link

Syntax Error GraphQL Unexpected Name "on" for fragments #8

Open tizmagik opened 7 years ago

tizmagik commented 7 years ago

In a Relay (pre-Modern, 0.10.0) app, I'm getting syntax errors for "fragment on" queries,

image

.graphqlrc is using a file path:

{
  "file": {
    "path": "./schema.json"
  }
}

Otherwise, the auto-complete works fine. Any ideas?

grydstedt commented 7 years ago

Seeing this as well