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

Add support for more configuration options

Open boboldehampsink opened this issue 3 years ago • 2 comments

GraphQL Codegen has some more config options of which I'd like to use some with this nuxt module: https://www.graphql-code-generator.com/docs/config-reference/codegen-config#configuration-options

Specifically disabling document validation

boboldehampsink avatar Jul 26 '22 12:07 boboldehampsink

@boboldehampsink Thank you for raising this issue, I had a chance to get a closer look at it in the past half hour, and I've noticed that there is an upstream bug where the skipDocumentsValidation option results in the error pictured below when a validation error actually exists.

More information here dotansimha/graphql-code-generator#7252

Screen Shot 2022-07-27 at 8 47 13 AM

Diizzayy avatar Jul 27 '22 12:07 Diizzayy

I am having the same issue. Documentation specifies skipDocumentsValidation property but it is not defined in TypeScript type definitions for CodegenConfig and not working.

VanishMax avatar Jul 07 '23 12:07 VanishMax