We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Shouldn't be this test the other way around?
Event.isAssignableFrom(parameterTypes[0])
instead of
grails-async/grails-events-transform/src/main/groovy/org/grails/events/transform/AnnotatedSubscriber.groovy
Line 54 in 1e39a5b
At the moment I cannot derive form Event and use this subclass directly in subscriber method.
class MyEvent extends Event { ... } class Handler { @Subcriber("myEvent") void handleEvent(MyEvent event) { } }
This does not work.
A workaround is as follows:
class Handler { @Subcriber("myEvent") void handleEvent(Event event) { MyEvent e = (MyEvent) event ... } }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Shouldn't be this test the other way around?
Event.isAssignableFrom(parameterTypes[0])
instead of
grails-async/grails-events-transform/src/main/groovy/org/grails/events/transform/AnnotatedSubscriber.groovy
Line 54 in 1e39a5b
At the moment I cannot derive form Event and use this subclass directly in subscriber method.
This does not work.
A workaround is as follows:
The text was updated successfully, but these errors were encountered: