You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a small Issue with NORM Generated Files for UPDATE, INSERT and DELETE Queries. For the Params, it does not consider the Non-Nullability of Database Column rather it always Generate it as Nullable.
For Example -
If a query is INSERT INTO users (first_name, last_name) VALUES (:firstName, :lastName);
Generated Data Class would be like this
data class CreateUserParams(
val firstName: String?,
val lastName: String?,
)
But, Ideally it should be like this because in Database first_name and last_name are Non Nullable.
data class CreateUserParams(
val firstName: String,
val lastName: String,
)
The text was updated successfully, but these errors were encountered:
Hi Team,
There is a small Issue with NORM Generated Files for
UPDATE, INSERT and DELETE
Queries. For the Params, it does not consider the Non-Nullability of Database Column rather it always Generate it as Nullable.For Example -
If a query is
INSERT INTO users (first_name, last_name) VALUES (:firstName, :lastName);
Generated Data Class would be like this
But, Ideally it should be like this because in Database
first_name
andlast_name
are Non Nullable.The text was updated successfully, but these errors were encountered: