How can I validate and serialize object myslef in the same way Fastify does when handling route? #5473
-
Hello. My application also sends some data by websocket and I would like it to be validated and serialized in the same way with the same schema I set it up in my route. What is the easiest and most idiomatic way? Thanks. |
Beta Was this translation helpful? Give feedback.
Answered by
vatosarmat
May 20, 2024
Replies: 2 comments 1 reply
-
Just to understand better, you want to validate the incoming |
Beta Was this translation helpful? Give feedback.
1 reply
-
Here it is #3897 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
vatosarmat
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Here it is #3897
Request
andReply
have appropriate methods