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 data constructors suggestion #56

Open
Tusenka opened this issue Feb 13, 2019 · 0 comments
Open

Kotlin data constructors suggestion #56

Tusenka opened this issue Feb 13, 2019 · 0 comments

Comments

@Tusenka
Copy link

Tusenka commented Feb 13, 2019

Thank you for your mapper. It is very useful for apps.

I am using kotlin data classes with val params:
data class Person (
var id: Int?=null
val name: String
val documentId: String
...
)
I can't use empty constructor due to notNull notation.
I could be wrong, at present time mapper demands empty constructors.

Is it possible to add mapper that uses args constructor?

Thank you,
Irina

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