Closed
Description
When a value can be lazily computed by request information, it's much nicer to make that value available through the Compute
trait (and Computed
extractor) rather than e.g. using middleware or plumbing the Head
data manually in an endpoint.
What are some examples of such values? One might be: a parsed version of the query segment. Let's generate a bunch of ideas and then implement them!