-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Update GraphQL to 14 #3190
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
Comments
Hi @xenophilicibex I am labeling this as a feature request, thanks! |
While I agree that I would like to see it updated, I don't see why this would be a problem when using Apollo. aws-mobile-appsync-sdk-js which is the package used for using AppSync with the Apollo client is also locked to GraphQL 0.13.0 (and Apollo client 2.4.x, which allows GraphQL 0.13.0). |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I'm also encountering issues with this and would like to see this change |
same problem |
++ |
@xenophilicibex GraphQL version is upgraded to version 14.0.0. Resolving this request as complete. |
This issue has been automatically locked since there hasn't been any recent activity after it was closed. Please open a new issue for related bugs. Looking for a help forum? We recommend joining the Amplify Community Discord server |
Uh oh!
There was an error while loading. Please reload this page.
Is your feature request related to a problem? Please describe.
I have conflicting GraphQL versions which results in this error in production (not local dev):
This is because I am using
aws-amplify-react
which hasaws-amplify
as a peer-dependency.aws-amplify
pulls in@aws-amplify/api
which has agraphql
dependency locked in to0.13.0
. This release is over a year old, and14.0
was in Aug '18, over 6 months ago.I'm also using Apollo which requires 14.
Describe the solution you'd like
I would like for
@aws-amplify/api
to update its graphQL dependency version.Describe alternatives you've considered
resolutions
:14.0.0
- this appears to work locally but not when it's deployed.aws-amplify
and instead pulling in the module we need:@aws-amplify/core
,@aws-amplify/auth
&@aws-amplify/ui
(https://github.com/aws-amplify/amplify-js/wiki/Amplify-modularization) but this doesn't work becauseaws-amplify-react
has a peer dependency withaws-amplify
and even if I get around that, it uses@aws-amplify/api
which is the part that includesgraphql
.Additional context
The only thing I can think of doing now is removing our dependency on
aws-amplify-react
, and then using our own UI for the sign in. That then I can go the modular AWS approach and avoid@aws-amplify/api
.The text was updated successfully, but these errors were encountered: