[SERVER-52827] Define an IDL type that accepts any BSON value in basic_types.idl Created: 12/Nov/20  Updated: 29/Oct/23  Resolved: 18/Nov/20

Status: Closed
Project: Core Server
Component/s: IDL
Affects Version/s: None
Fix Version/s: 4.9.0

Type: Task Priority: Major - P3
Reporter: George Wangensteen Assignee: George Wangensteen
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-52540 Specify input/output to drop command ... Closed
Backwards Compatibility: Fully Compatible
Sprint: Repl 2020-11-16, Repl 2020-11-30
Participants:

 Description   

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.



 Comments   
Comment by George Wangensteen [ 18/Nov/20 ]

This work has been committed onto the main branch: https://github.com/mongodb/mongo/commit/8124811b60875f50cc7acf9427a6f8ea1a269c3c

Generated at Thu Feb 08 05:29:07 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.