Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

have deprecated also work in generated hooks #4642

Closed
maapteh opened this issue Aug 26, 2020 · 0 comments
Closed

have deprecated also work in generated hooks #4642

maapteh opened this issue Aug 26, 2020 · 0 comments

Comments

@maapteh
Copy link
Contributor

maapteh commented Aug 26, 2020

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

@maapteh maapteh closed this as completed Aug 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant