davec
06/27/2022, 9:03 PMval request = rectangle {
lo = point(lowLat, lowLon)
hi = point(hiLat, hiLon)
}
var i = 1
stub.listFeatures(request).
☝️ that looks easy in theory but try it with a nontrivial request and it becomes near impossible to come up with the right syntax. Seems like sometimes things are a "DSL code block" and other time they're done like constructors? It would be nice if I could just construct the request like a data class
instead of all this stuffDariusz Kuc
06/27/2022, 9:27 PMdavec
06/27/2022, 9:49 PMdavec
06/27/2022, 9:49 PMDariusz Kuc
06/27/2022, 9:50 PMdavec
06/27/2022, 10:31 PMenleur
06/28/2022, 6:07 AMrectangle {
list += listOf(1,2,3)
list2 += 1
}