You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since we now encourage using namespaced imports import lambda = require('@aws-cdk/aws-lambda'), it should be fine (at least from JavaScript's perspective) to use Function as the name of the class. If this proves problematic in other languages, jsii generators should mangle the name (similarly to other reserved words).
Also, clean up the class names in @aws-cdk/aws-lambda not to include a Lambda prefix
The text was updated successfully, but these errors were encountered:
Since we now encourage using namespaced imports
import lambda = require('@aws-cdk/aws-lambda')
, it should be fine (at least from JavaScript's perspective) to useFunction
as the name of the class. If this proves problematic in other languages, jsii generators should mangle the name (similarly to other reserved words).Also, clean up the class names in
@aws-cdk/aws-lambda
not to include aLambda
prefixThe text was updated successfully, but these errors were encountered: