Validate for empty query object
Now, if you pass empty query it will give a weird error. Query needs to be validated.
@keydunov can you please elaborate this issue like what error you get .
@manojown Sure! If one sends a request to Cube.js with empty query params it returns 500 error. I think API gateway should validate the incoming query and return the valid error. Please see the screenshot from Postman with this error -

@paveltiunov what is better way to do that . 1 . verify empty query object at api gateway level(if query is empty than its avoid all further server execution) ? OR 2. go through all crash and fix those by some conditions ?
@manojown Hey Manoj! That's great question! I think it should be on api-gateway level as all validation is done there.