Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-1844

Wire protocol commands should only take a single command

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.1.13
    • Affects Version/s: None
    • Component/s: Core
    • None

      The current wire protocol classes make an assumption that incoming commands are always an array, which is likely a holdover from a time where multiple commands could be streamlined before everything was a command. While OP_MSG provides a way to have a splittable payload, its unlikely it will be implemented at the constructor level here so we should codify that we don't expect arrays here.

            Assignee:
            matt.broadstone@mongodb.com Matt Broadstone
            Reporter:
            matt.broadstone@mongodb.com Matt Broadstone
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: