Diizzayy / nuxt-graphql-client

⚡️ Minimal GraphQL Client + Code Generation for Nuxt3
https://nuxt-graphql-client.web.app
MIT License
342 stars 42 forks source link

Get config from graphql-config #209

Open iBobik opened 1 year ago

iBobik commented 1 year ago

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.

iBobik commented 1 year ago

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