diff options
author | Mark Benvenuto <mark.benvenuto@mongodb.com> | 2020-07-14 20:31:48 -0400 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-07-15 00:45:53 +0000 |
commit | f5926f7c0867bf2726313e8c27be1871c6c16ecb (patch) | |
tree | dcaa402c0c8f2f51720f20bdfcfa7780bc748987 /src/mongo/idl | |
parent | 66aba27804f8b363b5165ae01e34c7a5155c6863 (diff) | |
download | mongo-f5926f7c0867bf2726313e8c27be1871c6c16ecb.tar.gz |
SERVER-49489 IDL doesn't properly deal with an optional string field when part of a chained struct
Diffstat (limited to 'src/mongo/idl')
-rw-r--r-- | src/mongo/idl/unittest.idl | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/mongo/idl/unittest.idl b/src/mongo/idl/unittest.idl index 4fb7dc63db1..6fc1b13ec37 100644 --- a/src/mongo/idl/unittest.idl +++ b/src/mongo/idl/unittest.idl @@ -482,6 +482,21 @@ structs: strict: true fields: stringField: string + field1o: + type: string + optional: true + field2o: + type: int + optional: true + field3o: + type: object + optional: true + field4o: + type: bindata_generic + optional: true + field5o: + type: bindata_uuid + optional: true chained_struct_inline: description: Chained struct with chained structs and fields |