-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor from moshi to kotlinx serialization
Signed-off-by: Kelvin Bush <kelybush@gmail.com>
- Loading branch information
1 parent
ce14942
commit ff942a6
Showing
3 changed files
with
4 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 4 additions & 3 deletions
7
app/src/main/java/com/kelvinbush/nectar/domain/model/SignupUser.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,16 @@ | ||
package com.kelvinbush.nectar.domain.model | ||
|
||
import kotlinx.serialization.Serializable | ||
|
||
@Serializable | ||
data class SignupUser( | ||
val name: String, | ||
val password: String, | ||
val passwordConfirmation: String, | ||
val email: String, | ||
) | ||
|
||
@Serializable | ||
data class Result( | ||
val name: String, | ||
val password: String, | ||
val email: String, | ||
val name: String | ||
) |
34 changes: 0 additions & 34 deletions
34
app/src/main/java/com/kelvinbush/nectar/util/DefaultIfNull.kt
This file was deleted.
Oops, something went wrong.