deepkit-framework icon indicating copy to clipboard operation
deepkit-framework copied to clipboard

HttpQueries validation and unexpected query parameters

Open pbasista opened this issue 2 years ago • 1 comments

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?

pbasista avatar Sep 16 '22 11:09 pbasista

Any code?

marcj avatar Oct 13 '22 03:10 marcj