We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
skipDocumentsValidation
CodegenConfig
@graphql-codegen/cli
The docs clearly state that a skipDocumentsValidation attribute should be available in the config but this is not a part of the CodegenConfig type and when added this config setting is completely ignored.
https://codesandbox.io/p/devbox/vibrant-lake-y7dmnw
codegen.ts
The skipDocumentsValidation to work and ignore certain rules.
No response
graphql
@graphql-codegen/*
import { CodegenConfig } from "@graphql-codegen/cli"; const config: CodegenConfig = { schema: "schema.graphql", documents: "document.graphql", skipDocumentsValidation: { ignoreRules: ["OverlappingFieldsCanBeMergedRule"], }, generates: { "types.ts": { plugins: ["typescript", "typescript-operations"] }, }, }; export default config;
Being able to do this would fix a lot other issues like #2781
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Which packages are impacted by your issue?
@graphql-codegen/cli
Describe the bug
The docs clearly state that a
skipDocumentsValidation
attribute should be available in the config but this is not a part of theCodegenConfig
type and when added this config setting is completely ignored.Your Example Website or App
https://codesandbox.io/p/devbox/vibrant-lake-y7dmnw
Steps to Reproduce the Bug or Issue
codegen.ts
in your repo using codegenskipDocumentsValidation
Expected behavior
The
skipDocumentsValidation
to work and ignore certain rules.Screenshots or Videos
No response
Platform
graphql
version: [e.g. 16.3.0]@graphql-codegen/*
version(s): [e.g. 2.6.2]Codegen Config File
Additional context
Being able to do this would fix a lot other issues like #2781
The text was updated successfully, but these errors were encountered: