Uploaded image for project: 'MongoDB Shell'
  1. MongoDB Shell
  2. MONGOSH-750

Long inspect result is does not evaluate back to original value

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 0.13.1
    • Affects Version/s: None
    • Component/s: Bson
    • Labels:
      None
    • Not Needed
    • Iteration Barcelona

      Enterprise replset [direct: primary]> Long('12345678910')
      Long("3755744318")
      Enterprise replset [direct: primary]> Long.fromString('12345678910')
      Long("12345678910")
      

      The output should use Long.fromString.

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

              Created:
              Updated:
              Resolved: