Array.mapwe can use
For context, my use case is abstracting HTTP queries (at the controller level) and later interpret these queries (at the service level) either as a mongodb query or an Azure Search query, which means:
So it looks like I would need to write quite a lot of logic, thus the initial question :)
parse()directly because he must validate the input beforehand (TS), however if the input contains
$and/$or/$norwith none object array, it's not handled by type checking.