ikyriak / IdempotentAPI

A .NET library that handles the HTTP write operations (POST and PATCH) that can affect only once for the given request data and idempotency-key by using an ASP.NET Core attribute (filter).
MIT License
270 stars 39 forks source link

Fix MinimalApi HttpRequest self-referencing loop when serializing - Issue 65 #67

Closed ikyriak closed 7 months ago

ikyriak commented 8 months ago

Fix for Minimal API: When the special types (such as HttpRequest) are used as arguments, a Newtonsoft serialization exception for a self-referencing loop is thrown. The primary exception information is the following.

hartmark commented 8 months ago

Nice, looks good 😊

ikyriak commented 8 months ago

I have pushed the following prerelease libraries for you to confirm that everything is okay in your project.