[COMPASS-5689] ejson-shell-parser: throw more aggressively with invalid input Created: 05/Apr/22  Updated: 02/Sep/22  Resolved: 02/Sep/22

Status: Closed
Project: Compass
Component/s: Query Bar, Tech debt
Affects Version/s: None
Fix Version/s: No version

Type: Task Priority: Major - P3
Reporter: Anna Henningsen Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by COMPASS-5205 mongodb-query-parser incorrectly retu... Open
Documentation Changes: Not Needed

 Description   

See https://github.com/mongodb-js/ejson-shell-parser/issues/3 and https://github.com/mongodb-js/compass/pull/2928#discussion_r842015852

ejson-shell-parser returns an empty string for some invalid inputs, which is most likely not what we want it to do


Generated at Wed Feb 07 22:40:28 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.