Skip to content

Update codegen.ts sampled in include "plugins" key #1

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

PeteDuncanson
Copy link
Owner

🚨 IMPORTANT: Please do not create a Pull Request without creating an issue first.

Any change needs to be discussed before proceeding. Failure to do so may result in the rejection of the pull request.

Description

When using the old config on this page (which I've got another PR open to fix, dotansimha#9778) you get an error in the CLI. The suggested "correct" stucture of the config included in the error though is itself out of date causing some head scratching!

Have patched both to help others coming behind.

The "correct" structure I found in the online demo here https://the-guild.dev/graphql/codegen under the React-Query option.

Related dotansimha#9779

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

Its just a string content change, I've assumed it will be fine, no syntax errors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant