Skip to content

Lost astNode in schema created by introspection query #394

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

Closed
Code-Hex opened this issue Jun 10, 2023 · 2 comments · Fixed by #395
Closed

Lost astNode in schema created by introspection query #394

Code-Hex opened this issue Jun 10, 2023 · 2 comments · Fixed by #395

Comments

@Code-Hex
Copy link
Owner

The generation logic relied on the schema passed from graphql-codegen. If this was a schema generated based on introspection, the astNode information was lost, so it seems that it was not possible to determine whether each schema was an enum or a scalar.

This issue was reported here:

graphql/graphql-js#1575

Originally posted by @Code-Hex in #386 (comment)

@Code-Hex
Copy link
Owner Author

@maoosi I just published this fix now 🔥
Thank you so much!
https://github.com/Code-Hex/graphql-codegen-typescript-validation-schema/releases/tag/v0.11.1

@maoosi
Copy link

maoosi commented Jun 10, 2023

@Code-Hex working great, thanks again for fixing it so fast!

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 a pull request may close this issue.

2 participants