Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-51090

Maintain array ordering when value-arrays are parsed

    XMLWordPrintableJSON

Details

    • Fully Compatible
    • Query 2020-10-05

    Description

      Currently the `valueArray` nonterminal reverses the order of elements in an array it parses. This can make things more difficult/confusing when dealing with the parse tree, translation, writing tests, etc, so this ticket tracks modifying that rule so that it maintains the input order of arrays in the parsed array object.
      It would be nice if we could also check to see if any other array-building rules also have this issue.

      Attachments

        Activity

          People

            jacob.evans@mongodb.com Jacob Evans
            george.wangensteen@mongodb.com George Wangensteen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: