Expand description
Define the routes and the structure of your application using a Blueprint
.
Check out the “Project structure” section of the
Pavex guide for more details on the role of Blueprint
in Pavex applications.
Modules§
- Register constructors for the types that can be injected into your request and error handlers.
- Register error observers to intercept and report errors that occur during request handling.
- Execute common logic across multiple routes.
- Callable metadata used by Pavex’s CLI to analyze your request handlers, constructors and error handlers (e.g. their input parameters, their return type, where they are defined, etc.).
- Specify the routes exposed by your application.
Structs§
- The starting point for building an application with Pavex.