deepkit-framework
deepkit-framework copied to clipboard
HttpQueries validation and unexpected query parameters
The current implementation of HttpQueries<Type>
validation correctly validates the type of each query parameter. And if it is mandatory but not present in the query, the validation will complain that its value is not a string.
However, it allows any other query parameter to be provided, without raising any validation errors. Is there a way to enable raising validation errors in such case?
Any code?