Skip to content

Adding (StatusCode, IntoResponse) impl for IntoResponse #572

@mustafasegf

Description

@mustafasegf

adding (StatusCode, IntoResponse) like in axum https://docs.rs/axum/0.6.1/axum/response/trait.IntoResponse.html#impl-IntoResponse-for-(StatusCode%2C%20R)

this will make returning custom status code easier and don't need response builder.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions