I was thinking, since typescript 4 we have deprecated comments. Is it possible to have graphql deprecated fields in output for a hook also have this warning? It would make it awesome when you just consume data and even then have feedback you are still consuming something being deprecated.
microsoft/TypeScript#38523
just an idea and i leave it here, hope to look at your code better to fully understand it and see how to make it work