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

Maintain array ordering when value-arrays are parsed

    • Fully Compatible
    • Query 2020-10-05

      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.

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

              Created:
              Updated:
              Resolved: