Esben Bjerre
Esben Bjerre
Yeah exactly, sorry i didn't see that comment previously.
For anyone finding this in 2021 or later, I solved this by defining `tryBindJson` as: ```fsharp open Microsoft.AspNetCore.Http open Giraffe open FSharp.Control.Tasks module Extensions = let tryBindJson HttpHandler): HttpHandler =...
@richlander can you confirm whether or not it is considered safe to run a .NET 7/8 app on a read-only file system assuming `ASPNETCORE_TEMP` points to a writeable folder?
A few ideas in https://github.com/flix/flix/issues/1579
@dustinmoris
It was my impression from discussion in #451 that it would be preferable to have it in a separate NuGet package and I agree with that sentiment. No reason to...
I also think this switch would get us closer to finally having a `tryBindJson` function. I'll start working on that when/if this PR is approved.
> Why don't you use the `routex`? It looks like `routex` [isn't supported](https://github.com/giraffe-fsharp/Giraffe/blob/master/DOCUMENTATION.md#endpoint-routing) for the endpoint router. The documentation does state the default and endpoint router can be used side...
After some searching I saw Giraffe maps `route` directly to `IEndpointRouteBuilder.Map[Methods]` so we can just use a [catch-all route template](https://learn.microsoft.com/en-us/aspnet/core/fundamentals/routing?view=aspnetcore-7.0#route-templates). ```fsharp let health: HttpHandler = setStatusCode StatusCodes.Status200OK >=> json {|...
What is expected in terms of codegen for a decimal literal? Existing types supported by the literal attribute are generated as static literals directly in the IL, e.g. for ```fsharp...