31 ms·
I think the part that's throwing people off (including me) is if I'm looking at that main example, how do I get type completion on this line: Hello {query.
by coding123 5y ago
I think the part that's throwing people off (including me) is if I'm looking at that main example, how do I get type completion on this line:
Hello {query.me.name}!
query dot me dot name should all have type completion. And in most TS "frameworks" you have some way to type hint this all out. us TS folk are not seeing the type hints in the example. Maybe it works in VSCode like that, but totally confused how it does.
Believe me, I'm super interested in this project and it would save a ton of time if it's doing what some of us are hoping :)
- nwienert 5y agoIt does autocomplete with types on that line, and yes, it’s really that cool. Disclosure: I funded the development of version 2, and have written a large app using it. I am very happy with it, and believe it’s the best data fetching solution around.
- atom_arranger 5y agoThe client is generated from the schema, so “query.me.name” is fully typed.