Perhaps I'm missing something here but if I have a request body with a json boolean then isBoolean fails. Line 123 of CompatibleValidator says:
return str === 'true' || str === 'false';
this would work for headers and queries but surely this can't work for request bodies? I'm confused.
Perhaps I'm missing something here but if I have a request body with a json boolean then isBoolean fails. Line 123 of CompatibleValidator says: return str === 'true' || str === 'false';
this would work for headers and queries but surely this can't work for request bodies? I'm confused.
thanks,
Damon