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

Use double Milliseconds to define cache expiration - Issue 59 #61

Closed ikyriak closed 10 months ago

ikyriak commented 10 months ago

@vIceBerg, we cannot use Timestamp as an attribute parameter type (reference). Therefore, I have used a double type to set the cache expiration in milliseconds. What do you think?

I have prepared the following prerelease version to test the related implementation.

vIceBerg commented 10 months ago

Hi!

Yeah the double milliseconds is a fair trade off.