vite-plugin-vue-gql
vite-plugin-vue-gql copied to clipboard
Autogenerate TypedDocumentNode
Hi!
Sorry if this is completely not related as I haven't tried the library yet but just a thought I had:
If you know the queries/fragments, you could already import them with their Typescript types.. Check out this article: https://the-guild.dev/blog/typed-document-node
Sorry and feel free to close in case this is not related at all :)
Hey thanks for the suggestion! I'm actually in the process of a rewrite with support for auto generating queries. The link you provided will actually help me a lot in some of the problems I've run into with this, so I'll keep this issue open.
Thanks again, I remember seeing something like what you linked a while ago but couldn't remember exactly what it was 😅
That's awesome! if you have any questions for us or things we could help with, just let us know!