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

Stop type checking unstable fields

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.0.0-rc0
    • Affects Version/s: None
    • Component/s: IDL
    • Labels:
      None
    • Fully Compatible
    • Repl 2021-03-22, Repl 2021-04-05

      We make no guarantees for type incompatibility for unstable fields, so we should allow for incompatible changes to unstable fields.

      The one exception is that we should error if an unstable field is added with a new use of bson_serialization_type "any" without being added to the allowList. This is because unstable fields can be used for experimental fields that ultimately become stable, so we should warn away from using the "any" type as soon as we can.

            Assignee:
            huayu.ouyang@mongodb.com Huayu Ouyang
            Reporter:
            samy.lanka@mongodb.com Samyukta Lanka
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: