Skip to content

Adding pluckConfigΒ #1407

@Yamashou

Description

@Yamashou

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

  • Split a file for each Query of the target Schema
  • Tolerate editor errors and give up completion

Additional context

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions