MADescriptionTranspiler_JS now uses the hardcoded list of fields to transpile. Even worse, these fields are expected to be presented in every description, and when a description has "extra" fields, a special trick is used (see visitSingleOptionDescription for example).
Instead, metadescriptors and their accessors should be used to iterate over the fields of concrete description-to-be-transpiled (some white list of field names may or may not be introduced).
MADescriptionTranspiler_JS
now uses the hardcoded list of fields to transpile. Even worse, these fields are expected to be presented in every description, and when a description has "extra" fields, a special trick is used (seevisitSingleOptionDescription
for example).Instead, metadescriptors and their accessors should be used to iterate over the fields of concrete description-to-be-transpiled (some white list of field names may or may not be introduced).