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

Make graphql a peer dependency and simplify local development #249

Open
roschaefer opened this issue May 21, 2019 · 2 comments
Open

Make graphql a peer dependency and simplify local development #249

roschaefer opened this issue May 21, 2019 · 2 comments

Comments

@roschaefer
Copy link
Contributor

@johnymontana explained to me here that I run into the error:

Error: Cannot use GraphQLObjectType "Query" from another module or realm.

because you don't have graphql as a peer dependency.

I will outline a workaround in CONTRIBUTING.md but it would be great if you could make it a peer dependency to enable yarn link and friends.

It took me some hours to find a workaround and you could make life better for a lot of people + encourage more people to contribute to this library.

@malikalimoekhamedov
Copy link

I want this so bad.

@michaeldgraham
Copy link
Collaborator

#608

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

No branches or pull requests

4 participants