Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-5689

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

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • No version
    • None
    • Query Bar, Tech debt
    • None
    • 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

      Attachments

        Activity

          People

            Unassigned Unassigned
            anna.henningsen@mongodb.com Anna Henningsen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: