Rachid
01/05/2021, 7:21 PMdata class Response(
val id: Int,
@MyFirstMetadata
val label: LabelResponse
)
The idea that for the field label
we generate some metadata and add this as extra fields in LabelResponse
.
I wonder if there's a way to reach our goal without annotations and reflection. I read about making DSL's in Kotlin, but I couldn't directly find something for our situation. I'm happy to hear your thoughts.Sasha Shpota
01/05/2021, 7:33 PMRachid
01/05/2021, 8:37 PMnfrankel
01/06/2021, 8:46 AMRachid
01/06/2021, 1:10 PM