ejson-shell-parser: throw more aggressively with invalid input

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Duplicate
    • Priority: Major - P3
    • No version
    • Affects Version/s: None
    • Component/s: Query Bar, Tech debt
    • None
    • Not Needed

      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

            Assignee:
            Unassigned
            Reporter:
            Anna Henningsen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: