diff options
author | Mark Benvenuto <mark.benvenuto@mongodb.com> | 2017-04-21 08:43:30 -0400 |
---|---|---|
committer | Mark Benvenuto <mark.benvenuto@mongodb.com> | 2017-04-26 13:04:41 -0400 |
commit | 9782470f7cf7d5cca8661cea7ad1228fd6c806ea (patch) | |
tree | a43d7825d25aeaf632b17bfc5d5d75423ba1d283 /src/mongo/idl/unittest.idl | |
parent | 1100c4a3466ee860cdbd6ceb9d9719fe95103700 (diff) | |
download | mongo-9782470f7cf7d5cca8661cea7ad1228fd6c806ea.tar.gz |
SERVER-28899 IDL compiler requires objects to have serializers
Diffstat (limited to 'src/mongo/idl/unittest.idl')
-rw-r--r-- | src/mongo/idl/unittest.idl | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/mongo/idl/unittest.idl b/src/mongo/idl/unittest.idl index e2268de99bd..5d49ea37560 100644 --- a/src/mongo/idl/unittest.idl +++ b/src/mongo/idl/unittest.idl @@ -84,6 +84,12 @@ types: structs: + one_plain_object: + description: UnitTest for a single BSONObj + fields: + value: object + + ################################################################################################## # # Structs to test derived parsers @@ -239,6 +245,9 @@ structs: field2: type: int optional: true + field3: + type: object + optional: true ################################################################################################## # @@ -291,6 +300,8 @@ structs: type: array<any_basic_type> field4: type: array<object_basic_type> + field5: + type: array<object> field1o: type: array<safeInt32> optional: true @@ -303,3 +314,6 @@ structs: field4o: type: array<object_basic_type> optional: true + field5o: + type: array<object> + optional: true |