hi all, have you done anything like using annotati...
# ktor
a
hi all, have you done anything like using annotations for experimental routes ? And, only make that routes available for a specific environment ? I’m thinking of using https://kotlinlang.org/docs/opt-in-requirements.html to limited the usage of some routes, have you done this?
a
if I was to conditionally define routes in my web app, I would probably just wrap the route definitions in if/else statements
Copy code
get("/foo") { ... }
get("/bar") { ... }

if (someCondition) {
    get("/baz") { ... }
}
4