GraphQLDefinitionsFactory generate empty output on windows
See original GitHub issueI’m submitting a…
[ ] Regression
[x] Bug report
[ ] Feature request
[ ] Documentation issue or request
[ ] Support request => Please do not submit support request here, instead post your question on Stack Overflow.
Current behavior
After updating 6.2.5 -> 6.4.0 on Windows, factory generate empty schema types
export interface IQuery {}
But on MacOS all its fine.
Expected behavior
Generate correct schema types on both os (Windows, MacOS)
Minimal reproduction of the problem with instructions
const definitionsFactory = new GraphQLDefinitionsFactory()
const clientPath = join(process.cwd(), './graphql/types/client.ts')
await definitionsFactory.generate({
typePaths: [
join(process.cwd(), './graphql/core.schema.graphql'),
join(process.cwd(), './graphql/client.schema.graphql'),
],
path: clientPath,
})
Environment
Nest version: 6.5.2
For Tooling issues:
- Node version: v12.5.0
- Platform: Windows 10
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (6 by maintainers)
Top Results From Across the Web
nestjs graphql sdl first generated resolver classes should be ...
js GraphQL in SDL first fashion. Each module has its own *.graphql file. I'm generating types using this; import { GraphQLDefinitionsFactory } ...
Read more >How to use the @nestjs/graphql.GraphQLDefinitionsFactory ...
GraphQLDefinitionsFactory function in @nestjs/graphql ... Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately....
Read more >GraphQL + TypeScript - A progressive Node.js framework
Harnessing the power of TypeScript & GraphQL. GraphQL is a powerful query language for APIs and a runtime for fulfilling those queries with...
Read more >GraphQL (TypeScript) Module for Nest Framework (node.js)
A progressive Node.js framework for building efficient and scalable server-side applications. GraphQL is a powerful query language for APIs and a runtime ...
Read more >Files changed (100) - Renovate Bot Package Diff
+ You could leave this blank if you alread write this in your reproduction ... + **Tip**: Make sure that all of yours...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Fixed in 6.4.2! Thanks for reporting 😃
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.