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

Remove FieldsAsRaw as options because it has no effect on results in driver

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: 4.0.0
    • Component/s: None

      What problem are you facing?

      The fieldsAsRaw option is reported as supported by TS and there is some code to handle it, but it is never eventually passed down to the BSON library. fieldsAsRaw appears to be used to support the raw:true option the driver does support, by marking firstBatch and nextBatch as the desired "fields as raw". But this cannot be controlled by the user.

      What driver and relevant dependency versions are you using?

      This is since 4.0.0+

            Assignee:
            Unassigned Unassigned
            Reporter:
            neal.beeken@mongodb.com Neal Beeken
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: