Closed just-be-weird closed 10 months ago
@just-be-weird Could you please try changing /src/graphql/generated/admin-schema.graphql
to ./src/graphql/generated/admin-schema.graphql
?
@just-be-weird Could you please try changing
/src/graphql/generated/admin-schema.graphql
to./src/graphql/generated/admin-schema.graphql
?
Yes, I did try this and it worked. However, the plugin is still unable to recognise the schema types. Any idea what could be wrong here?
Also, you can try to remove include
completely, specifying schema
is enough now to include type definitions into the scope.
Regarding the errors on your screenshot, it's not enough information to say what's going wrong. Are there any other errors of a different kind in the schema file?
Also, you can try to remove
include
completely, specifyingschema
is enough now to include type definitions into the scope.Regarding the errors on your screenshot, it's not enough information to say what's going wrong. Are there any other errors of a different kind in the schema file?
No this is the only issue left rest else seems to be working fine. What other info you would need that would help you in debugging this issue?
@vepanimas we can mark this as resolved and close the issue. In order to get schema discovery working, I had to slightly modify the graphql configuration. I made the following changes in case anyone else runs into the same discovery problem
--- include: /src/graphql/generated/admin-schema.graphql
+++ documents: src/graphql/generated/admin-schema.graphql
@just-be-weird hi! Sorry for the late response.
What other info you would need that would help you in debugging this issue? It's very hard to debug this without having full schema sources and a detailed description of the project structure, unfortunately.
This is really weird that it helped. What's changed here is that type definitions from src/graphql/generated/admin-schema.graphql
won't be included in the schema anymore, only queries, mutations, and subscriptions.
--- include: /src/graphql/generated/admin-schema.graphql
+++ documents: src/graphql/generated/admin-schema.graphql
Before you create the issue
Describe the bug A clear and concise description of what the bug is.
To Reproduce Link to Repo with Reproduction or Steps to Reproduce:
Expected behavior
Screenshots
Version and Environment Details Operation system: Mac 13.4.1 (c) (22F770820d) (M2 - 2022)
IDE name and version
Plugin version: 4.02
Additional context
As a workaround, I restored to an earlier version of this plugin, but since the upgrade to WS-232.8660.143, that version can no longer be installed from source. I've attached a functioning version of the plugin in the hopes that it will be of some assistance. I hope this gets addressed soon because we rely greatly on it and it is tough to work without it, thanks.
js-graphql-intellij-plugin-3.4.0.zip