For example, I could do fun Route.elasticsearch(es...
# ktor
j
For example, I could do fun Route.elasticsearch(esClient) { get() { esClient.... }} but maybe there would be a way to have access to it through all routes such that get() { call.esClient } ? 😛 I'm not sure if it's necessary but it kept things tidy having access to things on the call.