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

Make graphql a peer dependency and simplify local development #249

@roschaefer

Description

@roschaefer

@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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions