summaryrefslogtreecommitdiff
path: root/buildscripts/idl/idl/syntax.py
diff options
context:
space:
mode:
authorHuayu Ouyang <huayu.ouyang@mongodb.com>2021-11-16 20:20:04 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-11-22 22:17:16 +0000
commite818cd876ed3b492517400a3da3f687fbe13d8aa (patch)
tree949699278df951eadbc45da35c2ee7da424e7ff0 /buildscripts/idl/idl/syntax.py
parent337e43030afb6de83a2e3ed25575ec8874a70d20 (diff)
downloadmongo-e818cd876ed3b492517400a3da3f687fbe13d8aa.tar.gz
SERVER-60814 Require 'unstable' field to avoid accidental additions to the stable API
Diffstat (limited to 'buildscripts/idl/idl/syntax.py')
-rw-r--r--buildscripts/idl/idl/syntax.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildscripts/idl/idl/syntax.py b/buildscripts/idl/idl/syntax.py
index 8558f725c37..69be6288cbe 100644
--- a/buildscripts/idl/idl/syntax.py
+++ b/buildscripts/idl/idl/syntax.py
@@ -464,7 +464,7 @@ class Field(common.SourceLocation):
self.comparison_order = -1 # type: int
self.validator = None # type: Validator
self.non_const_getter = False # type: bool
- self.unstable = False # type: bool
+ self.unstable = None # type: Optional[bool]
self.always_serialize = False # type: bool
# Internal fields - not generated by parser