Input validation guarantees our server handlers that the inputs are well-typed if the request is from a non-safe-api client.
Input validation also gives us the ability to take advantage of Koa middleware; if an endpoint doesn't support the input, then it can just relay it to the next piece of middleware on the middleware stack.
Input validation guarantees our server handlers that the inputs are well-typed if the request is from a non-safe-api client.
Input validation also gives us the ability to take advantage of Koa middleware; if an endpoint doesn't support the input, then it can just relay it to the next piece of middleware on the middleware stack.