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

Webstorm update 2024.3 broke schema discovery in excluded files #730

Open
reckter opened this issue Nov 19, 2024 · 0 comments
Open

Webstorm update 2024.3 broke schema discovery in excluded files #730

reckter opened this issue Nov 19, 2024 · 0 comments

Comments

@reckter
Copy link

reckter commented Nov 19, 2024

Describe the bug
After updating to 2024.3, graphql didn't correctly pick up the api schema, resulting in no types found, and lots of errors.

Setup:
We have a monorepository with one schema package that "compiles" a bunch of graphql files into one api.graphql file.
located in /packages/schema/build/graphql/api.graphql

In our graphql.config.yml, we mention this file directly:

schema: packages/schema/build/graphql/api.graphql
projects:
  frontend:
    documents: "apps/frontend/**/*.{graphql,js,ts,jsx,tsx}"

This worked without problems in earlier webstorm versions.
If I move our api.graphql file outside of the build directory it still works as it did before.
The build directory is on the .gitignore and is marked to ignore in the IDE

Operation system: macOS 15.1
IDE name and version: Webstorm 2024.3
Plugin version: 243.21565.122

Additional context
Add any other context about the problem here.

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