Skip to content

Support infallible endpoints #226

Open
@tpetrucciani

Description

@tpetrucciani

tapiro should probably support endpoints that never fail, with error type Nothing.

tapir provides an infallibleEndpoint for this case.

(I'm not sure how useful this is though: we'll certainly have endpoints that never give expected, business-logic errors, but I suppose unexpected failures like timeouts can occur also with these endpoints, and I'm not sure how tapir handles these.)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions