Skip to content

have deprecated also work in generated hooks #4642

Closed
@maapteh

Description

@maapteh

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions