let delete_question = warp::delete()
.and(warp::path("questions"))
.and(warp::path::param::<String>())
.and(warp::path::end())
.and(store_filter.clone())
.and_then(delete_question);
let routes = get_questions
.or(update_question)
.or(add_question)
.or(delete_question)
.with(cors)
.recover(return_error);
...
}
...