Replies: 1 comment
-
This is a very interesting topic. We were thinking to check the ability to extend TS language service, but didn't have the chance to dive deep into that. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This is probably a wild idea but I ❤️ graphql-code-generator – it's one of the most reliable tools around our GraphQL code. This is in stark contrast to the available VSCode extensions (Prisma's, Apollo's, Kumar's): most of them don't work well (or at all) with monorepos, have weird bugs etc.
I wonder if a new GraphQL VSCode extension could be based on graphql-code-generator – I imagine the codegen running in watch mode in the background, the extension consuming its output and highlight things like querying incorrect fields. The nice thing would be that I'd be configuring all this via a standard
codegen.yml
/.graphqlrc
, not some "proprietary" format.Do you think this could work?
Beta Was this translation helpful? Give feedback.
All reactions