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

Keyword scalar lost #2

Closed rafaelnsantos closed 6 years ago

rafaelnsantos commented 6 years ago

If the keyword scalar is used in the schema (see Custom scalars), it is lost after using the function transpileSchema.

nicolasdao commented 6 years ago

Thanks for finding that issue @rafaelnsantos . I'll fix this ASAP and I'll buzz you when that's done.

nicolasdao commented 6 years ago

Hi @rafaelnsantos,

Sorry for the delay. This is now fixed. I've also added support for the union keyword.

Just update to the latest version (0.3.2) and you should be all good to go.

Let me know how that goes or if there is anything else you think that could be made better.

Cheers,

Nic