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

Maintain array ordering when value-arrays are parsed

    XMLWordPrintable

    Details

    • Backwards Compatibility:
      Fully Compatible
    • Sprint:
      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

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

              Dates

              Created:
              Updated:
              Resolved: