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§

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?