Closed sandervanhooft closed 8 years ago
I just stumbled upon the solution from the apollo docs:
import { Kind } from 'graphql/language';
This means graphql
also should be a peer dependency.
@sandervanhooft did you reopen this on purpose?
Hi @thebigredgeek . Yes, because of the graphql
dependency.
In issue #1 it's mentioned that peer dependencies are no more... Consider to put graphql
into dependencies?
Feel free to close if this dependency is not an issue.
Hey guys, I'm really busy ATM, so if you want, you can make a PR to fix this. Otherwise, I'll try to fix is ASAP.
I'm using "graphql": "^0.7.2",
, will try to make a PR soon
Honestly I think the solution here is to provide the scalar definition in the package. Adding a dependency just so that another package cab require it sounds like bad engineering
Hi @HriBB,
In the
readme.md
file the functionparseJSONLiteral(ast)
referencesKind.STRING
,Kind.BOOLEAN
,Kind.INT
,Kind.FLOAT
,Kind.OBJECT
.Where are these coming from? / How should I define them?
From the
readme.md
: