You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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))
The text was updated successfully, but these errors were encountered:
It looks like routexisn't supported for the endpoint router.
The documentation does state the default and endpoint router can be used side by side, but I think it would be more elegant to add support for routex and/or adding a simple wildcard router function to the endpoint router.
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))
The text was updated successfully, but these errors were encountered: