graphiql icon indicating copy to clipboard operation
graphiql copied to clipboard

Inline Operation Execution VS Code plugin doesn't respect `graphql-config.load.rootDir`

Open FloEdelmann opened this issue 10 months ago • 2 comments

In my workspace, the graphql.config.ts file is located in a subdirectory. That subdirectory is specified in the graphql-config.load.rootDir setting, which is respected by the LSP (autocomplete works), but not in the Operations plugin; I always get the error Error: schema from graphql config.

When I open that subdirectory as the workspace root, it works correctly.

FloEdelmann avatar Feb 05 '25 11:02 FloEdelmann

An update: graphql-config.load.filepath fails in the same way

vpanta avatar Jun 18 '25 18:06 vpanta

I wonder if just a new release would help here? The latest version of the Inline Operation Execution plugin is 0.3.1 from last November, whereas the Language Feature Support plugin is 0.13.0 from this past February. So maybe it was fixed but not released?

vpanta avatar Jun 24 '25 15:06 vpanta