graphql-zeus
graphql-zeus copied to clipboard
WebSocket dummy import went missing for node targets
When generating a schema, there is an import directive for WebSocket. Since that doesn't exist in Node yet, this import fails. It looks like #250 initially fixed the issue by creating dummy imports for Node when using the --node option. However, it looks like those files are now awol, causing the compiler to fail on this import.
Temporary work around is install the 'ws' package for now. I think the fix is re-implement the dummy files on Node targets. It looks like the structure of those files changed significantly, so I don't have confidence I'd do it correctly.
e: actually, just commenting out the import works fine. So should leave out that import in Node targets.