summaryrefslogtreecommitdiff
path: root/src/mongo/idl
diff options
context:
space:
mode:
authorMark Benvenuto <mark.benvenuto@mongodb.com>2018-09-14 13:24:39 -0400
committerMark Benvenuto <mark.benvenuto@mongodb.com>2018-09-14 13:24:39 -0400
commit5603a0812eb64c8009a514a3c59182f7f7134b9e (patch)
treec8feed84f4e45486739941763525139a942abee4 /src/mongo/idl
parent0b5a31fe040168e9cbe3243b80ed2f40e1099e58 (diff)
downloadmongo-5603a0812eb64c8009a514a3c59182f7f7134b9e.tar.gz
SERVER-34882 Support creating instances with all required fields in IDL
Diffstat (limited to 'src/mongo/idl')
-rw-r--r--src/mongo/idl/unittest.idl4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mongo/idl/unittest.idl b/src/mongo/idl/unittest.idl
index 958150b5cfc..ddbe386fd91 100644
--- a/src/mongo/idl/unittest.idl
+++ b/src/mongo/idl/unittest.idl
@@ -185,7 +185,7 @@ structs:
strict: false
fields:
field1: RequiredStrictField3
- field2:
+ field2:
type: RequiredNonStrictField3
optional: true
field3: RequiredStrictField3
@@ -617,3 +617,5 @@ commands:
type: array<int>
fields:
field1: int
+
+