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

Allow bson_serialization_type "any" in API V1 request/reply fields

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.9.0
    • Affects Version/s: None
    • Component/s: IDL
    • None
    • Fully Compatible
    • Repl 2021-03-08, Repl 2021-03-22

      We currently disallow a command's request parameter or reply field to have bson_serialization_type "any" because we cannot provide guarantees for its type compatibility for the stable API. However, there are still a lot of valid uses for bson_serialization_type "any", so we do need to support it and do basic compatibility checking for it.

      We should have an allowList that determines which types can have the "any" type, so that any new usage is only intentionally added.

            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: