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

Glob pattern not working for schema config #699

Open njliwenlu opened 5 months ago

njliwenlu commented 5 months ago

Describe the bug Using glob pattern (wildcard) in schema config is not working, e.g.:

There are multiple .graphqls files recursively in that dir, eventually I am looking to use glob pattern recursively as described in Composite schema. But even using glob pattern on a single directory is not working.

My project structure looks like

repo
- common
- - schema
- - - modules
- - - - local.graphqls (and many other .graphqls files recursively inside this dir)
- projects
- - foo
- - - examples
- - - - bar
- - - - - graphql.config.yml

Expected behavior

Screenshots

Version and Environment Details Operation system: macOS 14.2.1 (23C71) IDE name and version: IntelliJ IDEA 2023.3.2 (Ultimate Edition) Plugin version: GraphQL 233.13135.65

Additional context No relevant error logs for GraphQL plugin in idea.log.