Open kguller opened 6 years ago
Hi, @kguller!
Consider using https://github.com/graphql-cli/graphql-cli. It's more active and with a more recent version of graphql-js.
@vinicio thank you! Works perfectly!
Hi, @kguller!
Consider using https://github.com/graphql-cli/graphql-cli. It's more active and with a more recent version of graphql-js.
What is the subcommand that is roughly comparable?
I am using a generated schema from Graph.Cool that has the User type implementing two interfaces: Node and AnonymousUser. This looks like standard multiple inheritance. The Relay Compiler rejects this, however if I use an ampersand it works (implements Node & AnonymousUser vs. implements Node, AnonymousUser). A change in the SDL spec seems to have caused the get-graphql-schema to fall out of date.
Reproduction I'm able to reproduce this consistently
Expected behavior? Commas should be converted to ampersands when listing inheritance references. FB Relay Team feedback confirms:
https://github.com/facebook/relay/issues/2364