Expand description
Define 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§
- reflection
- 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.
Macros§
- from
- Capture a list of sources to be checked by Pavex for components.
Structs§
- Config
- The input type for
Blueprint::config. - Constructor
- The input type for
Blueprint::constructor. - Error
Handler - The input type for
Blueprint::error_handler. - Error
Observer - The input type for
Blueprint::error_observer. - Fallback
- The input type for
Blueprint::fallback. - Import
- The input type for
Blueprint::importandBlueprint::routes. - Post
Processing Middleware - The input type for
Blueprint::post_process. - PreProcessing
Middleware - The input type for
Blueprint::pre_process. - Prebuilt
- The input type for
Blueprint::prebuilt. - Registered
Config - A configuration type registered via
Blueprint::config. - Registered
Constructor - A constructor registered via
Blueprint::constructor. - Registered
Error Handler - The type returned by
Blueprint::error_handler. - Registered
Error Observer - The type returned by
Blueprint::error_observer. - Registered
Fallback - The type returned by
Blueprint::fallback. - Registered
Import - The type returned by
Blueprint::import. - Registered
Post Processing Middleware - The type returned by
Blueprint::post_process. - Registered
PreProcessing Middleware - The type returned by
Blueprint::pre_process. - Registered
Prebuilt - The type returned by
Blueprint::prebuilt. - Registered
Route - The type returned by
Blueprint::route. - Registered
Routes - The type returned by
Blueprint::routes. - Registered
Wrapping Middleware - The type returned by
Blueprint::wrap. - Route
- The input type for
Blueprint::route. - Routing
Modifiers - The type returned by
Blueprint::prefixandBlueprint::domain. - Wrapping
Middleware - The input type for
Blueprint::wrap.
Enums§
- Cloning
Policy - Determines whether Pavex is allowed to clone a type.
- Lifecycle
- How many times should a constructor be invoked?
- Lint
- Common mistakes and antipatterns that Pavex
tries to catch when analysing your
Blueprint.