summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNaama Bareket <naama.bareket@mongodb.com>2023-04-10 14:11:38 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2023-04-10 15:24:43 +0000
commit6c2987acbfe5bf785a2476283f0ae84ea7fc334f (patch)
tree28ae0611ee26dab60d389e4f8c607e968afe5682 /src
parent65470b718d3aa183ede71411dc4f2b0fe24a97e3 (diff)
downloadmongo-6c2987acbfe5bf785a2476283f0ae84ea7fc334f.tar.gz
SERVER-74166: Mark 'temp' field in create command as stable to support $out flow
Diffstat (limited to 'src')
-rw-r--r--src/mongo/db/commands/create.idl7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/mongo/db/commands/create.idl b/src/mongo/db/commands/create.idl
index 8ab95c40f1f..0a1f8226454 100644
--- a/src/mongo/db/commands/create.idl
+++ b/src/mongo/db/commands/create.idl
@@ -198,10 +198,13 @@ commands:
optional: true
stability: stable
temp:
- description: "DEPRECATED"
+ description: "Internal field that can be used in the $out aggregation code."
type: safeBool
optional: true
- stability: unstable
+ # The temp field is an internal field and not documented publicly, but we need to set
+ # the 'stability' to 'stable' because it can be used in the $out aggregation stage.
+ # This is due to the limitation of the API strict checking infrastructure.
+ stability: stable
flags:
description: "DEPRECATED"
type: safeInt64