JetBrains / js-graphql-intellij-plugin

GraphQL language support for WebStorm, IntelliJ IDEA and other IDEs based on the IntelliJ Platform.
https://jimkyndemeyer.github.io/js-graphql-intellij-plugin/
MIT License
879 stars 97 forks source link

Relative paths cannot be included recursively #716

Open alexander-skoblikov opened 4 weeks ago

alexander-skoblikov commented 4 weeks ago

Describe the bug we use several repositories with the following structure

In the current plugin version, if the link to a common repository is specified in glob format - common schemas will not be included recursively. But it works if you specify a link to the schema file directly.

To Reproduce I created a repository that simulates the project structure https://github.com/alexander-skoblikov/graphql-intellij-plugin-relative-recursive-path

Expected behavior models are imported recursively and are available in the service repository, as in the case when the path to the scheme is specified explicitly

image

Actual behavior models are not imported recursively and are not available in services repositories

image

Version and Environment Details Operation system: MacOS Ventura 13.6.4 IDE name and version: IntelliJ IDEA 2024.1.2 Build #IU-241.17011.79, built on May 22, 2024 Plugin version: 241.14494.150