Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Glob pattern not working for schema config #699

Open
njliwenlu opened this issue Jan 23, 2024 · 0 comments
Open

Glob pattern not working for schema config #699

njliwenlu opened this issue Jan 23, 2024 · 0 comments

Comments

@njliwenlu
Copy link

njliwenlu commented Jan 23, 2024

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

  • schema: ../../../../common/schema/modules/*.graphqls does not work
  • schema: ../../../../common/schema/modules/local.graphqls works

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

  • glob pattern for Composite schema should work
  • glob pattern for single directory should work

Screenshots

  • Glob pattern not working
Screenshot 2024-01-23 at 9 42 54 AM Screenshot 2024-01-23 at 9 43 07 AM
  • Actual path works
Screenshot 2024-01-23 at 9 47 55 AM Screenshot 2024-01-23 at 9 48 21 AM

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant