Replies: 1 comment
-
Nevermind, found this at the docs: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a requirement that I must register the raw body received in the POST request into the database, I'm struggling on how to do it.
Based on previous discussions on #410 the best way would be doing through a resolver or middleware. I already have a resolver for validations in place that I could use, however, I would like advice on how to get this body properly into my handler.
The docs states that I can manipulate my input, but that doesn't seem like the best solution for me, since it would require to add a new field to my body and expose that to the client, that is something that I don't want to do.
So maybe, the alternative is through the context, but I have no idea on how to proceed.
Any advice is welcome.
Cheers,
Beta Was this translation helpful? Give feedback.
All reactions