proposal-class-method-parameter-decorators
proposal-class-method-parameter-decorators copied to clipboard
Decorators for ECMAScript class method and constructor parameters
Hello, This is mainly a question/discussion that I wanted to start. I am one of the maintainers of `inversify` which is a DI library . A very very common question...
There's really only two use cases listed by the different examples in the Motivations section: 1. Parameter Validation 2. Dependency Injection The problem I have is that these seem to...
Since this proposal is only for class methods, it would split "parameter lists" as a syntax up into two new categories, creating more confusion for users and more complexity for...
The [Anatomy of a parameter decorator](https://github.com/tc39/proposal-class-method-parameter-decorators/blob/4be5af502e54d27fd6b2cb7e37b9de8577e54c09/README.md#anatomy-of-a-parameter-decorator) section of the README shows "desugarization" for a method, but what about constructors? Here, I'm simply changing `method` for `constructor`, and adding a super...