Why allow a request to make it past the route matching process and in to the validation middleware when you're using validation pipes in your request decorators?
Instead add pattern matching to the route itself! This will prevent the request from making it further down the stack and executing validation logic straight away.
Did you know that you can use regular expression in your request decorators such as
@Get(<path>(<regex pattern>)? This is supported out of the box, no special middleware needed.
Match the route that is passing a v4 uuid as a parameter