-
Notifications
You must be signed in to change notification settings - Fork 1.4k
CODEGEN-334 - Fix ignoreNoDocuments swallowing all errors, not just no document errors #10338
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
base: master
Are you sure you want to change the base?
Conversation
🚀 Snapshot Release (
|
Package | Version | Info |
---|---|---|
@graphql-codegen/cli |
5.0.6-alpha-20250415141129-37b66fad245f7c16d0eac1fd14cc0c7488f2c83f |
npm ↗︎ unpkg ↗︎ |
@graphql-codegen/typescript-operations |
4.6.1-alpha-20250415141129-37b66fad245f7c16d0eac1fd14cc0c7488f2c83f |
npm ↗︎ unpkg ↗︎ |
@graphql-codegen/typescript-resolvers |
4.5.1-alpha-20250415141129-37b66fad245f7c16d0eac1fd14cc0c7488f2c83f |
npm ↗︎ unpkg ↗︎ |
@graphql-codegen/client-preset |
4.8.1-alpha-20250415141129-37b66fad245f7c16d0eac1fd14cc0c7488f2c83f |
npm ↗︎ unpkg ↗︎ |
packages/graphql-codegen-cli/tests/test-files/graphql.config.json
Outdated
Show resolved
Hide resolved
💻 Website PreviewThe latest changes are available as preview in: https://pr-10338.graphql-code-generator.pages.dev |
🦋 Changeset detectedLatest commit: 37b66fa The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
4387867
to
909e355
Compare
909e355
to
fa96556
Compare
438aeb7
to
2cac888
Compare
2cac888
to
304cd48
Compare
22b934e
to
37b66fa
Compare
Description
Related #9172
This PR fixes the issue where
ignoreNoDocuments
flag catches and swallows all errors such as syntax errors, and not just when no documents can be found. This uses feature implemented in ardatan/graphql-tools#7093Type of change
How Has This Been Tested?