DBCollection.createIndex is too strict about options value types

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 3.0.0
    • Affects Version/s: None
    • Component/s: API
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      For values that should be boolean, convert all numbers to boolean
      For values that should be integer, convert all numbers to integer
      For values that should be double, convert all numbers to double.

      Otherwise we risk breaking existing clients that are relying on the server's laxity.

              Assignee:
              Jeffrey Yemin
              Reporter:
              Jeffrey Yemin
              None
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: