Assert and document that mongoc_collection_find_and_modify_with_opts requires "opts"

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Minor - P4
    • 1.13.0
    • Affects Version/s: None
    • Component/s: Docs, libmongoc
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The function will crash if given a NULL opts parameter. Document this and assert it at the top to cause clearer errors when a user makes a mistake. Or else allow NULL opts for consistency with other with_opts functions? That's the more likely answer.

              Assignee:
              A. Jesse Jiryu Davis
              Reporter:
              A. Jesse Jiryu Davis
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: