Donaldo Osornio

Results 2 comments of Donaldo Osornio

I was thinking about how to implement this feature, which once implemented, could look like this: ``` app.service( group() .wrap(middleware_1) .wrap(middleware_2) .route("/", web::route().guard(guard::Get()).to(handler)) .service(web::resource("/user/profile").to(profile_handler)) .service(web::scope("/account").service( web::resource("{id}").guard(guard::Post()).to(handler), )) ).wrap(global_middleware_1) .wrap(global_middleware_2) .service(...

I'm asking more about the specifics on how to implement a custom `group` service like the `scope` and `resource` ones already implemented. Following the OP example, I'm thinking about adding...