Skip to content

Commit cf92ddd

Browse files
authored
Update details for ASPECT_STABILIZATION feature
Clarified the explanation of the stabilization loop for Aspects.
1 parent 1923ba2 commit cf92ddd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/aws-cdk-lib/cx-api/lib/features.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1414,8 +1414,8 @@ export const FLAGS: Record<string, FlagInfo> = {
14141414
type: FlagType.VisibleContext,
14151415
summary: 'When enabled, a stabilization loop will be run when invoking Aspects during synthesis.',
14161416
detailsMd: `
1417-
Currently, when Aspects are invoked in one single pass of the construct tree.
1418-
This means that the Aspects that create other Aspects are not run and Aspects that create new nodes of the tree sometimes do not inherit their parent Aspects.
1417+
Previously, Aspects were invoked in a single pass of the construct tree.
1418+
This meant that Aspects which created other Aspects were not run, and Aspects that created new nodes in the tree sometimes did not inherit their parent Aspects.
14191419
14201420
When this feature flag is enabled, a stabilization loop is run to recurse the construct tree multiple times when invoking Aspects.
14211421
`,

0 commit comments

Comments
 (0)