Re-add Otto annotation handlers #1134
Re-add Otto annotation handlers #1134
Conversation
We copy all non-AA annotations when we override a method. This can help Otto, because it does not read annotations from parent classes. But if a method is only annotated with Otto annotation, so we do not override it, the annotation will not be read Otto and the methods will not be called. To help that case, we re-add Otto handlers, which override (and annotate) Otto annotated methods in the generated subclass.
3b66168
to
7d7213f
Compare
Re-add Otto annotation handlers
Thanks. |
Shouldn't we release this in a hotfix ? |
Ideally we should. Do you have time to make the release ? |
I should have time to do it today. However, I'll have to cherry-pick this on a hotfix branch in order to not get back others features (as discussed on another thread) |
I think that is fine. The hotfix branch is created only for the purpose of the hotfix release, and we won't merge that back into develop (since the feature is already on develop, and the hotfix version will be lower then 3.2). |
As I'm on it, do you think there is something else to hotfix ? |
Ok, I'm working on it. FYI I just found this cheatsheet which is pretty clear |
Please note that our hotfix is not a "normal" one, since we already added the commit to the develop branch and some other commits on top of it. Normally, the hotfix commit is introduced on the other branch and later merged into develop. |
Fixes #1133.
@yDelouis I think we should quickly resolve the branching issue what i already noted. Until that i would not merge any PRs.