Skip to content
This repository has been archived by the owner on Sep 20, 2022. It is now read-only.

LaunchPad graphql endpoints no longer available #38

Open
mstuart opened this issue May 23, 2018 · 1 comment
Open

LaunchPad graphql endpoints no longer available #38

mstuart opened this issue May 23, 2018 · 1 comment

Comments

@mstuart
Copy link

mstuart commented May 23, 2018

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

@Yogu
Copy link
Member

Yogu commented May 23, 2018

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants