nuxt-graphql-client icon indicating copy to clipboard operation
nuxt-graphql-client copied to clipboard

Get config from graphql-config

Open iBobik opened this issue 3 years ago • 1 comments
trafficstars

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 avatar Sep 26 '22 17:09 iBobik

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

iBobik avatar Apr 28 '23 10:04 iBobik