-
-
Notifications
You must be signed in to change notification settings - Fork 134
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade graphql to ^15.1.0 #215
Comments
I'm a little confused about what you are requesting; our current peer dependency version range for Lines 44 to 46 in a3b7b31
If you do a fresh install of |
I encountered the same issue. I can't build and I get this message : src/schema/resolvers.ts:94:3 - error TS2322: Type 'GraphQLScalarType' is not assignable to type 'GraphQLScalarType | (() => any) | IEnumResolver | IResolverObject<any, any, any> | IResolverOptions<any, any, any>'.
Type 'GraphQLScalarType' is not assignable to type 'IResolverObject<any, any, any>'.
Index signature is missing in type 'GraphQLScalarType'.
94 Upload: GraphQLUpload,
~~~~~~
../node_modules/graphql-tools/dist/Interfaces.d.ts:70:5
70 [key: string]: (() => any) | IResolverObject<TSource, TContext> | IResolverOptions<TSource, TContext> | GraphQLScalarType | IEnumResolver;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The expected type comes from this index signature.
Found 1 error. My versions :
|
@jaydenseric peer dependency allows to install @graphql@15.1.0. However your own library depends on [email protected] and your definition for In short, your peer dependency is only until 15.0.0 and 15.1.0 breaks, the change in 15.1.0 in graphql library wasn't backwards compatible. |
How would one solve this quickly ? Increasing the peerdependency version number is enough you think ? |
@mkorablin
Perhaps you're confused. My library (I guess you were referring to https://unpkg.com/[email protected]/package.json
You don't wan't multiple versions of Probably your project dependencies just need updating, but if a third party package is pulling in an older version of Most packages in the |
My issue was linked to #214 |
Hello,
Would you mind releasing a new version with graphql dependency bump to ^15.1.0? Signature for
GraphQLScalarType
was changed in 15.1.0 and currently peer dependency declaration results in conflict.Here are release notes for 15.1.0
Thank you! 🙇
The text was updated successfully, but these errors were encountered: