Module pavex::blueprint::constructor
source · Expand description
Register constructors for the types that can be injected into your request and error handlers.
§Guide
Check out the “Dependency injection” section of Pavex’s guide for a thorough introduction to dependency injection in Pavex applications.
Structs§
- A constructor that has been configured but has not yet been registered with a
Blueprint
. - The type returned by
Blueprint::constructor
.
Enums§
- Determines whether Pavex is allowed to clone a component—e.g. the output type returned by a constructor or a state input.
- How many times should a constructor be invoked?