This new type represents a union of multiple types. For example:
structs: writeConcern: fields: w: type: # The "w" field accepts a string or an int variant: [string, int]
Add tests for the "variant" type in test_parser.py and test_generator.py, following the examples of the existing types.
- is depended on by
-
SERVER-52542 Specify input/output to dropIndexes command in IDL
- Closed
- is duplicated by
-
SERVER-40521 Add multi-type IDL types to the IDL parser
- Closed
- related to
-
SERVER-53150 Specify input/output to isMaster/hello command in IDL
- Closed