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

@playlyfe/gql doesn't work with version of "graphql" > "0.11.7" #97

Open
albangiroux opened this issue May 31, 2018 · 7 comments
Open

Comments

@albangiroux
Copy link

albangiroux commented May 31, 2018

If the package.json use the latest version of graphql.js package, you have the following error:

[Info - 10:42:06] NODE_PATH value is: xxxxxx
[Error - 10:42:08] Server initialization failed:
Request initialize failed with message: Cannot find module 'graphql/validation/rules/ArgumentsOfCorrectType'

Using "graphql": "0.11.7" fix the problem...

@albangiroux albangiroux changed the title @playlyfe/gql doesn't work with newer version of "graphql": "0.11.7", @playlyfe/gql doesn't work with version of "graphql" > "0.11.7" May 31, 2018
@kumarharsh
Copy link
Owner

kumarharsh commented May 31, 2018

It should work with versions below 0.12. We are working on getting better support for all graphql versions soon.

@danielkcz
Copy link

danielkcz commented Nov 27, 2018

I've tried @playlyfe/v3 which is supposed to work with graphql@0.13 but unfortunately there is this hard check in the plugin that effectively forbids it.

'Plugin requires `@playlyfe/gql v2.x`. Please upgrade the `@playlyfe/gql` package and restart vscode.',

Is there something I can help with on this? It's kinda surprising that with GraphQL being used more and more these super useful tools have lost people interested in maintaining them.

@kumarharsh
Copy link
Owner

Hi @FredyC, we have a branch for working with @playlyfe/v3 - it's the feat/gql-langauge-server. There is some work remaining in the https://github.com/Mayank1791989/gql-language-server repo related to file watching. It's stalled currently due to other work. Maybe something can be done to get it going, @Mayank1791989?

@danielkcz
Copy link

danielkcz commented Nov 28, 2018

@kumarharsh I would definitely like to help to get this moving. The extension helped me a lot before, but our backend guys decided to use type Query implements Interface1 & Interface2 ... it doesn't work anymore because older graphql module does not understand these.

I guess the first step would be to figure out to use that compatible branch and have it loaded in the VSCode, shouldn't be that hard hopefully.

@danielkcz
Copy link

Ok, guys, I want to thank for all the hard work and the joy this extension has brought in the past 👏 It's time to move on with the awesome Apollo GraphQL that has emerged. It works out of the box without any complicated configuration and extra packages. I really recommend you to try it out.

@levrik
Copy link

levrik commented Sep 19, 2019

@FredyC Sadly it doesn't support referencing a local schema consisting out of several files which I really need.

@danielkcz
Copy link

@levrik Then file the suggestion. Apollo is surely a more active community and there are good chances for that to happen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants