Document in upgrade guide that boolean API options are strictly checked to be booleans

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Minor - P4
    • 4.2.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • 1
    • None
    • Not Needed
    • None
    • None
    • None
    • None
    • None
    • None

      What problem are you facing?

      Users says there is a regression here with no longer interpreting 1 as true for boolean options

      https://www.mongodb.com/community/forums/t/4-0s-upsert-doesnt-work-with-1-only-with-true/126523

      Not sure if that's something we want to continue doing; if we don't want to, we shouldn't silently ignore it

      What driver and relevant dependency versions are you using?

      driver 4.0.x

      Steps to reproduce?

              Assignee:
              Kaitlin Mahar
              Reporter:
              Kaitlin Mahar
              Daria Pardue
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: