-
Notifications
You must be signed in to change notification settings - Fork 246
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(jsii): unexpected deprecated warnings when a deprecated interface…
… is extended It is common in the AWS CDK for non-deprecated interfaces to extend deprecated interfaces. Currently, when this occurs and the non-deprecated subclass is referenced, a warning is generated notifying the deprecation of its superclass. Modify the implementation such that the warning is produced only when a property of the deprecated interface is referenced. In the case when a deprecated interface with no required properties is used without any of its properties set, a warning will not be generated. This should occur rarely and the trade off is acceptable. fixes #3111
- Loading branch information
Niranjan Jayakar
committed
Nov 2, 2021
1 parent
e1527ee
commit 5d5dd12
Showing
2 changed files
with
29 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters