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.
- Customize how nested routes should behave.
- Register prebuilt types that can be injected into your components by Pavex.
- Metadata used by Pavex’s CLI to analyze your request handlers, constructors, error handlers, error observers (e.g. their input parameters, their return type, where they are defined, etc.), etc.
- Specify the routes exposed by your application.
Structs§
- The starting point for building an application with Pavex.