Skip to content

204 - no content with Maybe #208

@bagl

Description

@bagl

Hello,
thanks for this great lib! It's such a joy to see the types doing great work in web apis 👍

I have one question. My endpoint upon POST should return data with 201 created or 204 no content. I model this using the Maybe.

Is there any other way to return 204 other than returning () as a result? Is extending Servant using new combinators the way to go?

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