nicolasdao / graphql-s2s

Add GraphQL Schema support for type inheritance, generic typing, metadata decoration. Transpile the enriched GraphQL string schema into the standard string schema understood by graphql.js and the Apollo server client.
Other
187 stars 15 forks source link

Directives on separate lines aren't supported #41

Open thehappycoder opened 4 years ago

thehappycoder commented 4 years ago
input BaseForm {
  inParent: String
}

input Form inherits BaseForm {
  newOne: String
  inParent: String
    @snippet(
      category: "category"
      content: "content"
    )
}

transpiles incorrectly