[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: |
|
||||||||
| 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 |