jsii icon indicating copy to clipboard operation
jsii copied to clipboard

Ability to mark all APIs in submodules deprecated

Open kaizencc opened this issue 4 years ago • 0 comments

:rocket: Feature Request

Description

There's currently a way to deprecate specific APIs in a module, using the @deprecated tag. However, entire submodules need a quick and easy way to be completely deprecated. This is a problem in aws-cdk (see elasticsearch deprecation).

Proposed Solution

We probably need a deprecated flag in jsiirc.json that will mark all APIs in that particular submodule as deprecated. Tentatively agreeing to take this on the next time aws-cdk has a submodule that needs deprecation.

kaizencc avatar Mar 14 '22 18:03 kaizencc