-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: remove hard deprecations from .validate (#1956)
This PR removes hard coded deprecation from `.validate` function. While it had some sense when it was added 3 years ago on 3.x->10.x migration, today it's just a piece of legacy / tech debt complicating `constructs` adoption in [some cases](projen/projen#3056). AWS CDK 1.x is now EOL, this code violates [JSII way to do deprecations](https://aws.github.io/jsii/user-guides/lib-author/toolchain/jsii/#-strip-deprecated) and definitely violates several OOP principles attempting to control shape of subclassing objects.
- Loading branch information
1 parent
1468ec7
commit 463bdd7
Showing
2 changed files
with
1 addition
and
28 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