Expand description
The schema used by Pavex to serialize and deserialize blueprints.
There are no guarantees that this schema will remain stable across Pavex versions: it is considered (for the time being) an internal implementation detail of Pavex’s reflection system.
Structs§
- Blueprint
- The blueprint for a Pavex application.
- Callable
- A “callable” registered against a
Blueprint
—either a free function or a method, used as a request handler, error handler or constructor. - Config
Type - A type registered against a
Blueprint
viaBlueprint::config
to become part of the overall configuration for the application. - Constructor
- A constructor registered against a
Blueprint
viaBlueprint::constructor
. - Domain
- A domain routing constraint.
- Error
Observer - An error observer registered against a
Blueprint
viaBlueprint::error_observer
to intercept unhandled errors. - Fallback
- A request handler registered against a
Blueprint
viaBlueprint::fallback
to process requests that don’t match any of the registered routes. - Location
- A set of coordinates to identify a precise spot in a source file.
- Nested
Blueprint - A
Blueprint
that has been nested inside anotherBlueprint
viaBlueprint::nest
orBlueprint::nest_at
. - Path
Prefix - A path modifier for a nested
Blueprint
. - Post
Processing Middleware - A middleware registered against a
Blueprint
viaBlueprint::post_process
. - PreProcessing
Middleware - A middleware registered against a
Blueprint
viaBlueprint::pre_process
. - Prebuilt
Type - A type registered against a
Blueprint
viaBlueprint::prebuilt
to be added as an input parameter toApplicationState::new
. - RawIdentifiers
- All the information required to identify a component registered against a
Blueprint
. - Registered
At - Information on the callsite where the component was registered.
- Route
- A route registered against a
Blueprint
viaBlueprint::route
. - Type
- A type (enum or struct) registered against a
Blueprint
. - Wrapping
Middleware - A middleware registered against a
Blueprint
viaBlueprint::wrap
.
Enums§
- Cloning
Strategy - Component
- Lifecycle
- Lint
- Common mistakes and antipatterns that Pavex
tries to catch when analysing your
Blueprint
. - Lint
Setting - Method
Guard