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
Hey!
I'm generating the introspection types in a directory that is git-ignored, and graphqlsp does not create this directory automatically if not found
What do you think about adding something roughly like this?
if (output.endsWith('.ts')) { await mkdir(path.dirname(output), { recursive: true }); }
(with proper error handling of course)
Ref:
GraphQLSP/packages/graphqlsp/src/graphql/getSchema.ts
Lines 78 to 87 in acede9b
I'd be happy to contribute a pull request if this change is accepted
The text was updated successfully, but these errors were encountered:
I've got a corresponding fix up here at: 0no-co/gql.tada#401 I'm not sure if we want to share this code actually, but we could
Sorry, something went wrong.
Thanks for being so reactive!
Successfully merging a pull request may close this issue.
Hey!
I'm generating the introspection types in a directory that is git-ignored, and graphqlsp does not create this directory automatically if not found
What do you think about adding something roughly like this?
(with proper error handling of course)
Ref:
GraphQLSP/packages/graphqlsp/src/graphql/getSchema.ts
Lines 78 to 87 in acede9b
I'd be happy to contribute a pull request if this change is accepted
The text was updated successfully, but these errors were encountered: