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
I was going to report a bug about not able to use payload types with generics e.g. Event<Optional<MyBean>>, but I think this bug is just about the same issue I had. If not, I can report a separate issue
I checked the code and I think this is caused by the fact that generics in java are compiletime only, so when dispatcher checks the list of listeners is not able to distinguish between different typed generics. I'm afraid there is no simple solution without knowing how to retrieve the inner bean in general.
Hi,
when registering method event listeners for different generics, event dispatcher calls both
eg:
if i send a new EditEntity < Bean1> () message both methods are called
The text was updated successfully, but these errors were encountered: