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

Union of Generic Types doesn't work #22

Open vshesh opened 5 years ago

vshesh commented 5 years ago

Tried:

type A<T> {
  x: T
  default: T
}
union B = A<Int> | A<String>

and it can't parse the < in the union call.