Graphql-code-generator: Generate @deprecated annotations in typescript doc comments

Created on 18 Dec 2019  路  1Comment  路  Source: dotansimha/graphql-code-generator

I've got a GraphQL schema that has some @deprecated types and/or fields. While the descriptions already translate into tsdoc comments with the typescript plugin, the deprecations are not mentioned anywhere in the generated type declarations and the typescript compiler won't warn me when using those properties. I would expect a @deprecated tag to get created in the doc comment of the respective typescript declaration.

enhancement plugins waiting-for-release

Most helpful comment

Available in v1.13.1 馃帀

>All comments

Available in v1.13.1 馃帀

Was this page helpful?
0 / 5 - 0 ratings