summaryrefslogtreecommitdiff
path: root/src/mongo/crypto/encryption_fields.idl
diff options
context:
space:
mode:
authorMark Benvenuto <mark.benvenuto@mongodb.com>2022-04-07 15:08:33 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-04-07 20:47:30 +0000
commitaf0594b144e09da128cfa22d2d11f6ad43994d47 (patch)
treecc1d8c10c5e91bbc6347fd288d2dece0fa5f0b46 /src/mongo/crypto/encryption_fields.idl
parentc9f9b3e5a9124c35b5e8c69ed89c47b4d5ab41a9 (diff)
downloadmongo-af0594b144e09da128cfa22d2d11f6ad43994d47.tar.gz
SERVER-64126 Make bsonType in encryptedFields optional for non-indexed fields
Diffstat (limited to 'src/mongo/crypto/encryption_fields.idl')
-rw-r--r--src/mongo/crypto/encryption_fields.idl1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/crypto/encryption_fields.idl b/src/mongo/crypto/encryption_fields.idl
index acb2d99a53c..0f298d7de76 100644
--- a/src/mongo/crypto/encryption_fields.idl
+++ b/src/mongo/crypto/encryption_fields.idl
@@ -77,6 +77,7 @@ structs:
description: "BSON type of field to encrypt"
type: string
validator: { callback: "isValidBSONTypeName" }
+ optional: true
unstable: true
queries:
description: "List of supported query types"