Skip to content
This repository has been archived by the owner on Apr 18, 2023. It is now read-only.

@ProtoClass should have @Inherited annotation #26

Open
MixusMinimax opened this issue Feb 1, 2023 · 0 comments
Open

@ProtoClass should have @Inherited annotation #26

MixusMinimax opened this issue Feb 1, 2023 · 0 comments

Comments

@MixusMinimax
Copy link

When I make a subclass of a protoclass, that subclass should still be convertible to and from proto messages. For example, hibernate proxies can not be converted to protobuf messages. For that, BAData must use getters and setters, but it should do that anyway.

The reason is that getAnnnotation returns all annotations on the class, as well as annotations on superclasses if the annotation is inheritable.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant