You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
we use several repositories with the following structure
a common repository that contains several modules with the basic gql schemas
service repositories that extend and reuse the basic gql schemas
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.
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
Actual behavior
models are not imported recursively and are not available in services repositories
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
The text was updated successfully, but these errors were encountered:
Specifying a path to a single file that is out of the current module scope is supported, though is not recommended. It's mostly a hack for some specific scenarios the users reported before. The same for glob patterns is not supported. Overall, we aim to align our plugin's functionality with the graphql-config library. It explicitly requires creating a single configuration file for monorepos, with sub-projects configured using the projects key. More info is available in our docs and in the graphql-config docs.
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
Actual behavior
models are not imported recursively and are not available in services repositories
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
The text was updated successfully, but these errors were encountered: