-
Notifications
You must be signed in to change notification settings - Fork 599
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
Standart column types, foreign keys, default constructor in Kotlin #1463
Comments
please file 3 separate issues.
|
|
Merged
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
DBFlow Version: 4.1.1
Issue Kind (Bug, Question, Feature): Bug, Question
Description:
I'm using Kotlin to create database
I've got 3 issues (don't know if I should separate them).
1. Standart column types.
I use ByteArray type in a table. I got:
But 3rd item allows it:
https://agrosner.gitbooks.io/dbflow/content/TypeConverters.html
2. Non-nullable Foreign Key
Is it really such a problem to have non-nullable foreign key?
UPD: As I took a point, after reading some of the same issues had been asked here before, I should put @nonnull annotation instead of non-nullable Kotlin type to see right behavior of this.
3. Default constructor for data class*
I have data classes for all tables in database with column as parameters. Looks like one's in example
https://agrosner.gitbooks.io/dbflow/content/KotlinSupport.html
Got errors for all of tables.
The text was updated successfully, but these errors were encountered: