Is there an existing issue that is already proposing this?
[X] I have searched the existing issues
Is your feature request related to a problem? Please describe it
When you have multiple classes that implement the same interface. Let's say all of them has send() method. In order to call all of them, right now the only option in nestjs is:
Is there an existing issue that is already proposing this?
Is your feature request related to a problem? Please describe it
When you have multiple classes that implement the same interface. Let's say all of them has
send()
method. In order to call all of them, right now the only option in nestjs is:Which is in contrast with open-close principle.
Describe the solution you'd like
The same thing exists in Angular:
Teachability, documentation, adoption, migration strategy
They can achieve this by passing an option like
multi: true
What is the motivation / use case for changing the behavior?
To achieve better design for the open-close principle