plmercereau / tilehuria

Map tiles scrapper and proxy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Use latest typed-document-node

dotansimha opened this issue · comments

Hi @plmercereau !
I noticed you are using typed-document-node. I recently released a new version with a simpler setup and better TypeScript checks. Do you want to give it a try? https://github.com/dotansimha/graphql-typed-document-node

commented

Sure, will do!
What's new in V2?
Congrats with the great work

@plmercereau Mostly setup. Instead of using module augmentation, we are patching the .d.ts of the libraries and adding support for it.
This is better since there is no fallback to any in case of mismatched signature, so now variables are strongly typed, and will break the build if it doesn't match the actual type of the variables.
Also, we added support for more popular libraries :)

commented

That's great news! I think I'm not comprehensively using your package as it's not (yet?) fully supported by Apollo Vue. I would not rush into it though, as apollo vue has not yet migrated to apollo client v3...
Don't hesitate to have a look at my code if you have any comments or suggestions!

I added support for @vue/apollo-composable@4.0.0-alpha.10 in v2.1.0 ;) Make sure to have that latest version, and it will patch it and allow you to use it without the need for changes in tsconfig.json.