generated from amazon-archives/__template_Apache-2.0
-
Notifications
You must be signed in to change notification settings - Fork 37
Closed
Description
This method was introduced in 2020 from this PR and aws-cdk-lib has some adoption. As it's still marked as experimental, we've seen customers having concern about that in production but we don't seem to have other methods to remove a child from a Node.
Lines 369 to 379 in 80aa122
| /** | |
| * Remove the child with the given name, if present. | |
| * | |
| * @returns Whether a child with the given name was deleted. | |
| * @experimental | |
| */ | |
| public tryRemoveChild(childName: string): boolean { | |
| if (!(childName in this._children)) { return false; } | |
| delete this._children[childName]; | |
| return true; | |
| } |
Please stabilize this method and remove the @experimental tag.
ArchitGajjar
Metadata
Metadata
Assignees
Labels
No labels