Skip to content

EndpointRouting - Catch All Endpoint for Custom 404 error messages #537

Description

@shaif-dorIT

Hi,

I started using F# and giraffe in order to learn Functional Programming.

I think that the title says it all, but I elaborate:

In regular route with the routex you can use regex route with "/*" to get catchall route.

How can I mimic that behavior in endpoint routing so I can get a custom handler for dealing with 404 in the endpoint list
that is needed in .UseEndpoints(fun e -> e.MapGiraffeEndpoints(endpoints))

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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