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
Discuss: auto calculation of scope based on dependencies vs explicit scope
Good discussion point, there is a boundary between code readability and developer experience. Auto calculation can be good convenient option (NestJS DI System has it), but it can be difficult to read dependency source from a lot of nested providers (modules)
Add separate decorator to provide
ping
functionality. It has no scope during declaration and can be used to run specific code declated in providers:Declaration:
Usage:
That call will find all pings declared with current and parent scopes and request them
Discuss: should we unify this technic?
The text was updated successfully, but these errors were encountered: