fkrauthan
09/07/2020, 6:14 AMoverride val descriptor: SerialDescriptor =
buildClassSerialDescriptor("SortField") {
element<String>("field", listOf())
element<String>("ascending", isOptional = true, annotations = listOf())
element<String>("descending", isOptional = true, annotations = listOf())
}
how do I pass in the annotations? I assume its the same kind of annotations I would usually add to the actual property?