msmps
msmps
Explore posts from servers
TtRPC
Created by msmps on 1/26/2023 in #❓-help
Audit logging middleware?
I’m required for regulatory reasons to log all actions that are taken in my application for auditing and if they were successful or not. Imagine - user successfully updated a resource, user viewed <x> resource. Is there a best practice to implementing such behaviour with tRPC? I was originally thinking about a middleware but it would need to know if the action was successful post request. Thanks all.
4 replies