Skip to content

StaticReflector annotation returns undefined for types with no annotations. #7877

@chuckjaz

Description

@chuckjaz

Steps to reproduce and a minimal demo of the problem

Call StaticReflector.annotations() for a type with annotations.

Current behavior

Returns undefined.

Expected/desired behavior

Return [] to be consistent with Reflector and what is expected by RuntimeMetadataResolver.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions