timqian / gql-generator

Generate queries from graphql schema, used for writing api test.
MIT License
376 stars 93 forks source link

gqlgen doesn't the newish "repeatable" token on directives like graphql-java #46

Open manbeing opened 3 years ago

manbeing commented 3 years ago

What happened? gqlgen failed at this line: directive @key(fields: _FieldSet!) repeatable on OBJECT | INTERFACE error I got: GraphQLError: Syntax Error: Expected "on", found Name "repeatable"

What did you expect? It should support the new 'repeatable' token

Minimal graphql.schema and models to reproduce directive @key(fields: _FieldSet!) repeatable on OBJECT | INTERFACE