diff options
author | Huayu Ouyang <huayu.ouyang@mongodb.com> | 2021-11-16 20:20:04 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-11-22 22:17:16 +0000 |
commit | e818cd876ed3b492517400a3da3f687fbe13d8aa (patch) | |
tree | 949699278df951eadbc45da35c2ee7da424e7ff0 /buildscripts/idl/idl/syntax.py | |
parent | 337e43030afb6de83a2e3ed25575ec8874a70d20 (diff) | |
download | mongo-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.py | 2 |
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 |