plumber icon indicating copy to clipboard operation
plumber copied to clipboard

@preempt multiple filters

Open shizidushu opened this issue 7 years ago • 1 comments

#' 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.

shizidushu avatar Aug 30 '18 10:08 shizidushu

It could be solved by having a single preempt function auth_combo.

But I think it's reasonable to have multiple filters.

schloerke avatar Sep 04 '18 16:09 schloerke