Type file not being generated #49
-
I've previously played around with I'm really excited to play around with gql.tada now as the promise of type safe GQL without codegen has been something I've dreamed of for years! Incredible work you've been doing here 🙏 Following through the installation instructions though I can't seem to get the types to be generated using
My GraphQL server is definitely up and running and other than the I've tried fully closing and restarting VsCode multiple times but still no luck Are there any diagnostics or anything that I can review to try and figure out why the types file isn't being generated? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 22 replies
-
Have you ensured that your VSCode is using the workspace TSVersion? If so you can enable TSLogging and open the TSServer log, there you can look for |
Beta Was this translation helpful? Give feedback.
-
I'm having similar problem in monorepo,
|
Beta Was this translation helpful? Give feedback.
Have you ensured that your VSCode is using the workspace TSVersion? If so you can enable TSLogging and open the TSServer log, there you can look for
[GraphQLSP]
and it should give you sufficient debug information, if you don't find any occurrences then that means you aren't using the workspace TypeScript version in your VSCode.