Drop support for keyword arguments
otaviomacedo opened this issue · comments
Otavio Macedo commented
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.