summaryrefslogtreecommitdiff
path: root/src/mongo/idl
diff options
context:
space:
mode:
authorErin McNulty <erin.mcnulty@mongodb.com>2022-08-24 20:37:28 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-08-24 21:38:34 +0000
commit160e9ba26f68522796da0e7222901ae63e45e1c9 (patch)
tree6e82f348b49b67f2cf2d2828c61ffad4439f652f /src/mongo/idl
parent1744ab66eafba2dcc6dd96d7fa0d0d77eeae35d8 (diff)
downloadmongo-160e9ba26f68522796da0e7222901ae63e45e1c9.tar.gz
SERVER-68558: Mark command reply types with is_command_reply field
Diffstat (limited to 'src/mongo/idl')
-rw-r--r--src/mongo/idl/basic_types.idl2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mongo/idl/basic_types.idl b/src/mongo/idl/basic_types.idl
index ab35193de7a..063e9b422ef 100644
--- a/src/mongo/idl/basic_types.idl
+++ b/src/mongo/idl/basic_types.idl
@@ -317,10 +317,12 @@ structs:
OkReply:
description: "Shared by commands that reply with just {ok: 1} and no additional information"
strict: true
+ is_command_reply: true
ErrorReply:
description: "Error Reply structure shared by all commands"
strict: false
+ is_command_reply: true
fields:
ok:
type: safeDouble