summaryrefslogtreecommitdiff
path: root/src/mongo/idl/basic_types.idl
diff options
context:
space:
mode:
authorMark Benvenuto <mark.benvenuto@mongodb.com>2017-04-21 08:43:30 -0400
committerMark Benvenuto <mark.benvenuto@mongodb.com>2017-04-26 13:04:41 -0400
commit9782470f7cf7d5cca8661cea7ad1228fd6c806ea (patch)
treea43d7825d25aeaf632b17bfc5d5d75423ba1d283 /src/mongo/idl/basic_types.idl
parent1100c4a3466ee860cdbd6ceb9d9719fe95103700 (diff)
downloadmongo-9782470f7cf7d5cca8661cea7ad1228fd6c806ea.tar.gz
SERVER-28899 IDL compiler requires objects to have serializers
Diffstat (limited to 'src/mongo/idl/basic_types.idl')
-rw-r--r--src/mongo/idl/basic_types.idl5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mongo/idl/basic_types.idl b/src/mongo/idl/basic_types.idl
index 198d8f20980..76438ecc01f 100644
--- a/src/mongo/idl/basic_types.idl
+++ b/src/mongo/idl/basic_types.idl
@@ -66,6 +66,11 @@ types:
cpp_type: "mongo::OID"
deserializer: "mongo::BSONElement::OID"
+ object:
+ bson_serialization_type: object
+ description: "A BSONObj without custom deserialization or serialization"
+ cpp_type: "mongo::BSONObj"
+
date:
bson_serialization_type: date
description: "A BSON UTC DateTime"