kamilkisiela / graphql-config

One configuration for all your GraphQL tools (supported by most tools, editors & IDEs)
https://the-guild.dev/graphql/config
MIT License
1.16k stars 93 forks source link

Adding pluckConfig #1407

Open Yamashou opened 9 months ago

Yamashou commented 9 months ago

Is your feature request related to a problem? Please describe.

I use GraphQL Code Generator for my React projects. I am using pluckConfig in the configuration of that project. I would like to separate the target GraphQL API for each gqlMagicComment. However, since I can only separate them per file, the editor does not recognize the Query of different APIs inside the same file.

Describe the solution you'd like

Add pluckConfig to allow Schema to be set for each gqlMagicComment.

Describe alternatives you've considered

Additional context

I am using this extension. https://github.com/JetBrains/js-graphql-intellij-plugin