pavex
pavex copied to clipboard
An easy-to-use Rust framework for building robust and performant APIs
Most of the time Bazel users generate a ruleset outside of the project the ruleset is for. Exceptions include a) things like GRPC that are natively maintained using Bazel, and...
We're currently affected by https://github.com/squidfunk/mkdocs-material/issues/6983
I was very confused when I got this error pointing to the default route that comes with the template. ```rust ERROR: x I don't know how to handle the type...
As pavex is a compiler, it would be cool to explore the possibilities of generating openapi specs for the blueprint. I understand that this might not be that high on...
This is a meta-issue to keep track of feature requests/bugs in other projects that affect Pavex. - IDE experience: - Auto-completion and go-to-definition inside the f! macro - https://github.com/rust-lang/rust-analyzer/issues/14999 -...
This is just a proposal to move over to Nextra for documentation as full MDX gives a lot more flexibility in terms of embedding demos, custom components, and more in...
I tried this code: [repo](https://github.com/snarkipus/pavex-chone/tree/broken) Registered a constructor & fallible pre-processor middleware: [link](https://github.com/snarkipus/pavex-chone/blob/0d160cf865a662d6130d0701afc05d9e0b425987/app/src/routes/web/mod.rs#L20-L23) ```rust pub fn tickets_bp() -> Blueprint { let mut bp = Blueprint::new(); bp.request_scoped(f!(crate::tickets::TicketForCreate::extract)) .error_handler(f!(crate::tickets::invalid_ticket)); bp.request_scoped(f!(crate::ctx::Ctx::new)); bp.pre_process(f!(super::web::mw_auth::mw_require_auth)) .error_handler(f!(super::web::mw_auth::mw_auth_error));...