db.command method should not inspects apiVersion

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Unknown
    • None
    • Affects Version/s: None
    • Component/s: Stable API
    • None
    • Ruby Drivers
    • None
    • None
    • None
    • None
    • None
    • None

      According to versioned api spec "Drivers that offer a generic command helper (e.g. command() or runCommand()) MUST NOT inspect the command document to detect API versioning options."

      Ruby driver does not make an exception for db#command method. This leads to failures in {{ runcommand-helper-no-api-version-declared.yml}} spec tests.

            Assignee:
            Unassigned
            Reporter:
            Dmitry Rybakov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: