constructs: reduce API clutter from base class #1441
Labels
@aws-cdk/core
Related to core CDK functionality
pr/breaking-change
This PR is a breaking change. It needs to be modified to be allowed in the current major version.
The surface area of the
Construct
base class is polluting the surface area of derived classes without adding much value to the derived classes' users (in most cases, users won't need to interact with the construct surface).One of the ideas that came up is grouping most of this surface area under some property (e.g.
construct.node
so that the surface area will not be cluttered.The text was updated successfully, but these errors were encountered: