plumber
plumber copied to clipboard
@preempt multiple filters
#' Check health
#' @preempt auth1 auth2
#' @tag debug
#' @get /health
health <- function() {
"It is running"
}
I want to preempt two filters for a api. The above code doesn't work.
It could be solved by having a single preempt function auth_combo.
But I think it's reasonable to have multiple filters.