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

Get config from graphql-config #209

Open
iBobik opened this issue Sep 26, 2022 · 1 comment
Open

Get config from graphql-config #209

iBobik opened this issue Sep 26, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@iBobik
Copy link

iBobik commented Sep 26, 2022

Currently I have to configure GQL client twice:

  1. graphql.config.yml for IDE language server
  2. nuxt.config.ts for this module

IDE get config by graphql-config which is required by graphql-codegen/cli, requirement of this module, anyway.

Could you add option to use this also? For most use-cases it will be enough to have just one GraphQL config.

@Diizzayy Diizzayy self-assigned this Sep 26, 2022
@Diizzayy Diizzayy added the enhancement New feature or request label Sep 26, 2022
@iBobik
Copy link
Author

iBobik commented Apr 28, 2023

Trying to configure multiple clients, it is hell to learn and maintain the same in two files.

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

No branches or pull requests

2 participants