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
But when MyCommand is not dispatched anywhere, it should mark MyHandler + MyCommand as dead.
Same with an Event and multiple event subscribers to that event. If the event is never dispatched, the event + all the subscribers should be marked as dead.
I believe that in order to support this (and #83), we need some HiddenCallProvider which will be based on AST, not based on reflection like EntrypointProvider is.
Let's say you have the following:
The above should return in no dead classes.
But when MyCommand is not dispatched anywhere, it should mark MyHandler + MyCommand as dead.
Same with an Event and multiple event subscribers to that event. If the event is never dispatched, the event + all the subscribers should be marked as dead.
https://symfony.com/doc/current/components/messenger.html
The text was updated successfully, but these errors were encountered: