graphql-weaver icon indicating copy to clipboard operation
graphql-weaver copied to clipboard

LaunchPad graphql endpoints no longer available

Open mstuart opened this issue 6 years ago • 1 comments

Can you please refresh the graphql endpoint examples and namespacing examples on launchpad?

mstuart avatar May 23 '18 01:05 mstuart

The dependency resolution in Apollo Launchpad is kind of non-deterministic. I just logged into the launchpad and it worked, then saved and it did not work again.

It seems as this is a bug in Apollo Launchpad. The graphql package is installed twice (once in the root, and once at launchpad-module/node_modules), although both point to the same version. The root cause could be that launchpad-module declares a regular dependency to graphql instead of a peerDependency, and sometimes the other packages (graphql-weaver, graphql-tools) are installed too late so that graphql is already installed within launchpad-module and gets installed a second time in the root package. I don't know why this is not a problem with graphql-tools on its own.

Yogu avatar May 23 '18 12:05 Yogu