Define an IDL type that accepts any BSON value in basic_types.idl

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.9.0
    • Affects Version/s: None
    • Component/s: IDL
    • None
    • Fully Compatible
    • Repl 2020-11-16, Repl 2020-11-30
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      From the API Version Testing design: "some of the commands that we'll convert to IDL have parameters that accept any BSON value; for example, createIndexes's "comment" parameter."
      We therefore need an IDL type that can match + hold any BSON value. We originally planned to use the query system's Value type for this, but after discussing with them decided not to. See the discussion at SERVER-51875 for context.

      This ticket tracks the addition of a new IDL type, or adoption of existing IDL type, to fit the need described. Will update description once approach is finalized.

            Assignee:
            George Wangensteen (Inactive)
            Reporter:
            George Wangensteen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: