Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-45460

Deprecate CodeWithScope as a BSON type

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.3.4
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • Fully Compatible
    • Query 2020-02-24, Query 2020-03-09

      This work will consist of:

      • Updating bsonspec.org to list code_w_s as a deprecated type
      • Updating comments in bsyontypes.h to reflect that BSONType::Code is not deprecated and that BSONType::CodeWScope is deprecated
      • Investigating whether work is needed to prevent use in system.js and to handle gracefully existing CodeWScope in system.js on 4.4 upgrade
      • Requesting documentation changes

      We could also consider adding a deprecation message to the log on every X uses for 4.2

            Assignee:
            james.wahlin@mongodb.com James Wahlin
            Reporter:
            david.percy@mongodb.com David Percy
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: