For example: main attribute is called "is_active" (Boolean), alias will be called "active" (switch).
solution: descriptor for alias property has flag "isAlias", for example: {active: {type: "Switch", isAlias: true}, ...}.
Before <storage> tag and sugar parses the raw AST - they first collect a list of attributes,
which have an alias, to restrict them. When TemplateWalker walks a template - it ignores properties with isAlias flag.
For example: main attribute is called "is_active" (Boolean), alias will be called "active" (switch). solution: descriptor for alias property has flag "isAlias", for example: {active: {type: "Switch", isAlias: true}, ...}. Before <storage> tag and sugar parses the raw AST - they first collect a list of attributes, which have an alias, to restrict them. When TemplateWalker walks a template - it ignores properties with isAlias flag.