I'm a bit confused by `Locations` - why isn't this...
# ktor
k
I'm a bit confused by
Locations
- why isn't this just built into
Routing
?
r
I think it’s likely because ktor is big on being unopinionated.
k
It seems like a lot of routing functionality is duplicated in Locations - just to allow converting parameters to data classes?
b
to allow converting parameters into data classes in a very opinionated way, which is why it’s not part of the basic routing
k
ok, I guess I get that, but seems like maybe this functionality belongs in the DataConversion service? and then it could be used with basic routing...
it's nice convenience, but I also feel like it's probably safer to stick with the official Routing.