Skip to content

Transformers should record property metadata #4003

@vsavkin

Description

@vsavkin

Example

class ClassWithDecorators {
  @PropDecorator("p1") @PropDecorator("p2") a;

  @PropDecorator("p3")
   set b(value) {}

  @PropDecorator("p4")
   get b { return null;}
}

Should create an instance of ReflectionInfo with propMetadata set to

var m = {
  "a": [const PropDecorator("p1"), const PropDecorator("p2")],
  "b": [const PropDecorator("p3"), const PropDecorator("p4")],
};

Closes #3267 and #1800

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions