Skip to content

Commit 75f29f4

Browse files
authored
feat: stabilize experimental code (#2497)
Fixes #2267 These code features have been around for a long time. There are no known issues around them. They are used in `aws-cdk-lib` and the team has effectively treated the code as stable anyway. It's also not great practice to main unstable code like this. Let's just stabilize the previously experimental parts.
1 parent e9bf09c commit 75f29f4

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

src/construct.ts

-1
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,6 @@ export class Node {
366366
* Remove the child with the given name, if present.
367367
*
368368
* @returns Whether a child with the given name was deleted.
369-
* @experimental
370369
*/
371370
public tryRemoveChild(childName: string): boolean {
372371
if (!(childName in this._children)) { return false; }

src/dependency.ts

-4
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ export interface IDependable {
2020
*
2121
* This class can be used when a set of constructs which are disjoint in the
2222
* construct tree needs to be combined to be used as a single dependable.
23-
*
24-
* @experimental
2523
*/
2624
export class DependencyGroup implements IDependable {
2725
private readonly _deps = new Array<IDependable>();
@@ -70,8 +68,6 @@ const DEPENDABLE_SYMBOL = Symbol.for('@aws-cdk/core.DependableTrait');
7068
* Dependable.implement(construct, {
7169
* dependencyRoots: [construct],
7270
* });
73-
*
74-
* @experimental
7571
*/
7672
export abstract class Dependable {
7773
/**

0 commit comments

Comments
 (0)