Skip to content

What useful computed properties can we provide? #16

Closed
@aturon

Description

@aturon

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    designOpen design question

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions