diff options
author | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2017-06-16 09:42:02 -0400 |
---|---|---|
committer | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2017-06-16 13:59:05 -0400 |
commit | 73390210633a157f87221d561ce6cad1497225f9 (patch) | |
tree | d44538b9deb9265b34451c9d50a425755ed7ac56 /buildscripts/idl | |
parent | 2845061bc77b10dd8ed140bc20e17ffbd4f4ce5d (diff) | |
download | mongo-73390210633a157f87221d561ce6cad1497225f9.tar.gz |
SERVER-29681 Make IDL commands support chained types and structs
Diffstat (limited to 'buildscripts/idl')
-rw-r--r-- | buildscripts/idl/idl/parser.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/buildscripts/idl/idl/parser.py b/buildscripts/idl/idl/parser.py index c7099c25d76..de9cbd2dc01 100644 --- a/buildscripts/idl/idl/parser.py +++ b/buildscripts/idl/idl/parser.py @@ -325,6 +325,8 @@ def _parse_command(ctxt, spec, name, node): _generic_parser(ctxt, node, "command", command, { "description": _RuleDesc('scalar', _RuleDesc.REQUIRED), + "chained_types": _RuleDesc('sequence'), + "chained_structs": _RuleDesc('sequence'), "fields": _RuleDesc('mapping', mapping_parser_func=_parse_fields), "namespace": _RuleDesc('scalar', _RuleDesc.REQUIRED), "strict": _RuleDesc("bool_scalar"), |