We can pass a user validation function to anvil.server.callable
and the current user is passed to that function (Anvil Docs | Server Code)
Could we also have the name of the server function itself being passed to that handler?
Use Case:
I currently have a decorator that I use in addition to anvil.server.callable
to handle user validation. I could remove it entirely except that it logs the function being called when validation fails and I can’t replicate that behaviour right now.