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

Kotlin @StorIOSQLiteCreator secondary constructor #892

Open
devtau opened this issue Sep 3, 2018 · 0 comments
Open

Kotlin @StorIOSQLiteCreator secondary constructor #892

devtau opened this issue Sep 3, 2018 · 0 comments

Comments

@devtau
Copy link

devtau commented Sep 3, 2018

Hey, guys! Great lib you are buiding here!
As far as I understood it is possible to use @StorIOSQLiteCreator annotation only on Kotlin primary constructor. In my case I have Parcelable data class with some but not all fields to be stored in db. I wonder if there is an option to create secondary kotlin constructor for storio that would use full list of stored fields or use primary constructor but not annotate some fields with @StorIOSQLiteColumn

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

No branches or pull requests

1 participant