Vinícius Gajo

Results 149 comments of Vinícius Gajo

I wish it was that simple. In this case, since we're aiming to use the ASP.NET feature, we would need to rewrite the Giraffe routing mechanism to account for scenarios...

I updated the PR code to add a mechanism that lets you configure these ASP.NET extensions passing a list. Please let me know what you think.

Hey @GallaFrancesco, with the new alpha release you can have per-route rate limiting leveraging ASP.NET native middleware. Check this sample for more details: https://github.com/giraffe-fsharp/Giraffe/blob/master/samples/RateLimiting/Program.fs. There's a README explaining how to...

Since there were no more interactions, and considering the new routing functions `...WithExtensions` which enables fine-grained ASP.NET built-in middleware usage, I'm going to close this issue for now. Check [this...

Hey @davidtimovski, thanks for opening this new issue. Just to clarify, I assume that when using the minimal APIs approach you're doing something like this: ```fsharp app.MapGet("/", (HttpContext context) =>...

> I was not aware that Giraffe was using a custom serializer here. This is presumably to better handle certain F# types? Exactly, we tweak the serializer to be more...

Ack, thanks for opening the issue at first place @davidtimovski. If you decide to use the Giraffe `json` helper function and find something weird, please let us know. And feel...

I noticed that this error log is still appearing at the *Messages* buffer. Edit 1: After some debug, I found that the error happens inside this expression: https://github.com/fsharp/emacs-fsharp-mode/blob/master/fsharp-mode-structure.el#L636: ```elisp (fsharp-goto-beginning-of-tqs...

I commented some tests that were failing at the CI (since I don't know how to solve it yet). Related PR: https://github.com/fsharp/emacs-fsharp-mode/pull/346. --- Edit 1: I uncommented the broken tests...

@darren-mk you can set a file server too. Check the .NET docs [here](https://learn.microsoft.com/en-us/aspnet/core/fundamentals/static-files#usefileserver-for-default-documents). Check [this PR](https://github.com/giraffe-fsharp/Giraffe/pull/632) for a sample using F#.