Quick question: how to get mutation body in a middleware, which is for a global logging?
Hi everyone!Quick question:
The pic shows that the output of "input" is undefined. Is there any another way to get it?
![No description](https://answer-overflow-discord-attachments.s3.amazonaws.com/1231861080847028295/image.png)
6 Replies
it's lazy getter, but you should be able to call
opts.getRawInput()
i thinkThanks for your reply, but I can't find any api which is related to getRawInput
you shouldn't be logging request body here though fwiw
![No description](https://answer-overflow-discord-attachments.s3.amazonaws.com/1231874218170519615/CleanShot_2024-04-22_at_09.47.582x.png)
can have a bunch of private data
got it. thanks