Join Slack
Powered by
Does Kotlin have a limit on the number of paramete...
# android
s
Susheel
09/28/2021, 4:10 PM
Does Kotlin have a limit on the number of parameters you can have in a data class? I was looking for info on this in the official documentation but didn't find anything.
u
Umar Ata
09/28/2021, 4:13 PM
Good question
e
ephemient
09/28/2021, 4:17 PM
iirc there's some limits like
KFunction0<R>..KFunction22<P1..P22, R>
but most things should keep working after that
81
Views
Open in Slack
Previous
Next