diff options
author | Mark Benvenuto <mark.benvenuto@mongodb.com> | 2017-07-05 15:59:25 -0400 |
---|---|---|
committer | Mark Benvenuto <mark.benvenuto@mongodb.com> | 2017-07-05 15:59:25 -0400 |
commit | 2f30acc9db10215601ca1a13498be468450736c2 (patch) | |
tree | 2c5e243c603eaf35f788969f128fae27140ec0b6 /src/mongo/idl/unittest.idl | |
parent | 74ad9fa5538c82478aced69a1969266752b1d7a8 (diff) | |
download | mongo-2f30acc9db10215601ca1a13498be468450736c2.tar.gz |
SERVER-29956 Chained structs inside a command produce non-compilable code
Diffstat (limited to 'src/mongo/idl/unittest.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 2dc12729163..f9fc5708320 100644 --- a/src/mongo/idl/unittest.idl +++ b/src/mongo/idl/unittest.idl @@ -530,3 +530,18 @@ commands: objects: type: array<object> supports_doc_sequence: true + + chained_command_type_mixed: + description: Chained command with chained types, structs, and fields + namespace: concatenate_with_db + strict: false + chained_types: + ChainedType : chained_type + AnotherChainedType: + cpp_name: AnotherChainedType + chained_structs: + chained_string_basic_type: + cpp_name: ChainedStringBasicType + fields: + field3: + type: int |