When using a lambda in an event payload. Parameter types are lost when resolving observers.
For instance:
{code} @Inject Event<Supplier<String>> stringSupplierEvent; ... Supplier<String> stringSupplier = () -> "Hello world"; stringSupplierEvent.fire(stringSupplier); {code}
will triggers an observer of for {{Supplier}} but not an observer of for {{Supplier<String>}}
|