-
Notifications
You must be signed in to change notification settings - Fork 245
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(jsii): missing deprecation warning in collections
When a deprecated member was nested under a collection of values, no deprecation warning was being generated, despite all the necessary information being available. There was a missing case that caused the collection to be validated as if it was the element type, which is obviously incorrect, but thankfully did not cause errors as it typically led to verifying `undefined`, which silently succeeds. Added the necessary code so that collections are deep-validated as they should have been. Fixes #3755
- Loading branch information
1 parent
1cffb04
commit 282c3e5
Showing
3 changed files
with
141 additions
and
19 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
import config from '../../jest.config.mjs'; | ||
import { overriddenConfig } from '../../jest.config.mjs'; | ||
|
||
export default config; | ||
export default overriddenConfig({ | ||
watchPathIgnorePatterns: ['.*\\.tsx?$'], | ||
}); |
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