Closed LiteracyFanatic closed 2 years ago
Hi @LiteracyFanatic That has got to be one of the best bug reports I've ever gotten, thank you so much for that! I'll take a look at this when I can over the next few days
Fixed in #130
I can confirm that the exception is no longer being thrown. Thanks for all your hard work!
Describe the bug There seems to be something wrong with the interaction between
UseFSharpTypes
from this library and ASP.NET Core's dependency injection. Things work fine at first, but the code will throw an exception after 20 requests. This was not happening prior to the .NET 6 upgrade.To Reproduce
The follow code demonstrates the issue
Make more than 20 requests to trigger the exception
Additional context The following snippet can be added to the ASP.NET startup code to disable the exception.