magento / magento2-phpstorm-plugin

PHPStorm Plugin for Magento 2
Open Software License 3.0
436 stars 102 forks source link

GraphQL support doesn't work #1769

Open speller opened 1 year ago

speller commented 1 year ago

In Magento 2 GraphQL files, the IDE shows a lot of errors. Primarily "unknown directives":

image image

Expected result: all Magento-specific directives are known.

Actual result: the whole file is red and claiming a lot of errors.

Plugin version: 5.1.1

The documentation https://github.com/magento/magento2-phpstorm-plugin/wiki/Code-completion#graphql-support-optional-requires-graphqljs-plugin says I should install the GraphQLJS plugin but the link to it is broken and shows the 404 error. This module is not found in the JB plugin marketplace. I have the JB's GraphQL plugin v 4.0.2 installed.

m2-assistant[bot] commented 1 year ago

Hi @speller. Thank you for your report. To speed up processing of this issue, make sure that you provided sufficient information. Add a comment to assign the issue: @magento I am working on this


Join Magento Community Engineering Slack and ask your questions in #github channel.