Sharing data classes especially Kotlin data classe...
# announcements
p
Sharing data classes especially Kotlin data classes which are one liners seems like a pretty small prize for that amount of work.
1
1️⃣ 1
d
In apis it might be worth it since the client server contract can be shared, so you dont forget to change things in both...
g
Not only data classes. And not all data classes are onliners, especially if you talk about API where different entities reused across different requests