Skip to content
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 dependency to 15.3.0 #4557

Closed
jacklp opened this issue Sep 10, 2020 · 3 comments
Closed

Upgrade GraphQL dependency to 15.3.0 #4557

jacklp opened this issue Sep 10, 2020 · 3 comments

Comments

@jacklp
Copy link

jacklp commented Sep 10, 2020

Trying to use this in conjunction with type-graphql but I'm getting the following error:

type-graphql upgraded their graphql dependency to latest (15.3.0) recently.

Duplicate "graphql" modules cannot be used at the same time since different
versions may have different capabilities and behavior. The data from one
version used in the function from another could produce confusing and
spurious results.
Error: Cannot use GraphQLSchema "[object GraphQLSchema]" from another module or realm.

@sgyyz
Copy link

sgyyz commented Sep 14, 2020

I found that upgrade the apollo-server-lambda to 3.0.0-alpha.3 works fine with the latest version of type-graphql. Hope that apollo-server-lambda can resolve this dependency issue as soon as possible.

@glasser
Copy link
Member

glasser commented Feb 6, 2021

Thanks! Handling this at #4865.

@glasser glasser closed this as completed Feb 6, 2021
@glasser
Copy link
Member

glasser commented Feb 11, 2021

Apollo Server v2.21.0 will fix this. I published alpha packages with version v2.21.0-alpha.0. I'd love some folks to try the alpha and let me know if it works for you! Both folks who actually use the upload feature and those who don't! It's currently in the release-2.21.0 branch, being tracked at #4922

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 20, 2023
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

3 participants