cdklabs / decdk

Define AWS CDK applications declaratively

Home Page:https://aws.amazon.com/cdk

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Drop support for keyword arguments

otaviomacedo opened this issue · comments

Currently, users can provide arguments to method calls either as an array in the order (positional arguments) or as an object, in which the keys are argument names (keyword arguments).

Given that renaming a variable is considered a legal change by jsii, a variable renaming can break users' templates. So we should support only positional arguments.

Adding a needs-discussion label in case there are good arguments for why we should keep keyword arguments.