vite-plugin-vue-gql icon indicating copy to clipboard operation
vite-plugin-vue-gql copied to clipboard

Autogenerate TypedDocumentNode

Open Urigo opened this issue 4 years ago • 2 comments

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 :)

Urigo avatar Apr 24 '21 21:04 Urigo

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 😅

wheatjs avatar Apr 24 '21 22:04 wheatjs

That's awesome! if you have any questions for us or things we could help with, just let us know!

Urigo avatar Apr 24 '21 22:04 Urigo