Skip to content
New issue

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

Can I use the annotation processor with subclasses? #701

Open
sreejithraman opened this issue Oct 24, 2016 · 1 comment
Open

Can I use the annotation processor with subclasses? #701

sreejithraman opened this issue Oct 24, 2016 · 1 comment

Comments

@sreejithraman
Copy link

For example, can I have an Animal class, Lion class, and Tiger class. Tiger and Lion share similar column names like weight, height, etc. Would such a senario work with storio's annotation processor? Is there anything I should keep in mind when doing this?

@nikitin-da
Copy link
Collaborator

Hi, @sreejithraman !
Sorry, but at the moment storIO annotation processor doesn't work with subclasses.
We should make smarter annotations validator to have this possibility.
Right now you should make type mapping for whole hierarchy manually.
Sorry =(

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

No branches or pull requests

2 participants