Applying Idempotency Middleware to HttpApi Endpoints
Hey, I'm writing an
More precisely, I'm writing an
I don't think I can write this with
HttpMiddleware and I can't find a way to apply it to some endpoints created by HttpApiMore precisely, I'm writing an
IdempotencyMiddleware that looks like this: I don't think I can write this with
HttpApiMiddleware because I need the Effect.onExit to perform some finalization. How could I apply this middleware to my HttpApi endpoints ?