Express only parses both Path Params and Query String parameters as strings. This limits the ability to use the various supported types – specifically number and boolean being the most applicable – as the validator will fail if these provided parameters do not exactly match the JavaScript type.
I am happy to look at implementing this but would like to socialize the paths to essentially loosen the rules to accomadate Express here.
Express only parses both Path Params and Query String parameters as strings. This limits the ability to use the various supported types – specifically
number
andboolean
being the most applicable – as the validator will fail if these provided parameters do not exactly match the JavaScript type.I am happy to look at implementing this but would like to socialize the paths to essentially loosen the rules to accomadate Express here.