Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

@HandlerCallback not inherited #181

Closed
KampfCaspar opened this issue Nov 19, 2013 · 1 comment
Closed

@HandlerCallback not inherited #181

KampfCaspar opened this issue Nov 19, 2013 · 1 comment

Comments

@KampfCaspar
Copy link

I have a couple of classes that should be serialized/deserialized in the same way. Therefore I wrote a common base class with serialization/deserialization methods and @HandlerCallback annotation. This one works as expected.
However, extended classes (with no additional properties) seem to ignore those @HandlerCallbacks and get serialized as if those methods didn't exist.

Is this the expected behaviour?

If so, the documentation should reflect this behaviour. But actually inheriting @HandlerCallbacks would IMHO seem to be more 'in style' (see also e.g. JsonSerializable)

@KampfCaspar
Copy link
Author

#186

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant