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
Inversify decorators should rely on PropertyDecorator, ParameterDecorator and ClassDecorator.
Inversify hybrid decorators such as inject (which is at the same time a ParameterDecorator and PropertyDecorator) should provide overloaded signatures. This way decorators would provide cleaner method signatures than the existing ones.
Is there any specific group of users that will benefit from this?
Every inversify user.
What problems are you trying to solve?
Relying on typescript types should help us providing cleaner contracts and hopefully, the next major ts version won't break decorator signatures again.
Do you have any references or examples that can illustrate your idea?
What type of idea is this?
Innovation: No similar idea exists
The text was updated successfully, but these errors were encountered:
Is there an existing proposal similar to this?
What are you proposing?
Inversify decorators should rely on
PropertyDecorator
,ParameterDecorator
andClassDecorator
.Inversify hybrid decorators such as inject (which is at the same time a
ParameterDecorator
andPropertyDecorator
) should provide overloaded signatures. This way decorators would provide cleaner method signatures than the existing ones.Is there any specific group of users that will benefit from this?
Every inversify user.
What problems are you trying to solve?
Relying on
typescript
types should help us providing cleaner contracts and hopefully, the next major ts version won't break decorator signatures again.Do you have any references or examples that can illustrate your idea?
What type of idea is this?
Innovation: No similar idea exists
The text was updated successfully, but these errors were encountered: