Skip to content

Commit

Permalink
feat: stabilize experimental code (#2497)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
mrgrain authored Oct 11, 2024
1 parent e9bf09c commit 75f29f4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion src/construct.ts
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,6 @@ export class Node {
* 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; }
Expand Down
4 changes: 0 additions & 4 deletions src/dependency.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ export interface IDependable {
*
* This class can be used when a set of constructs which are disjoint in the
* construct tree needs to be combined to be used as a single dependable.
*
* @experimental
*/
export class DependencyGroup implements IDependable {
private readonly _deps = new Array<IDependable>();
Expand Down Expand Up @@ -70,8 +68,6 @@ const DEPENDABLE_SYMBOL = Symbol.for('@aws-cdk/core.DependableTrait');
* Dependable.implement(construct, {
* dependencyRoots: [construct],
* });
*
* @experimental
*/
export abstract class Dependable {
/**
Expand Down

0 comments on commit 75f29f4

Please sign in to comment.