Skip to content
This repository was archived by the owner on Sep 29, 2020. It is now read-only.
This repository was archived by the owner on Sep 29, 2020. It is now read-only.

Typescript build failing tests. (@lazy-initialize not working correctly with tsc)  #130

@dtweedle

Description

@dtweedle

@BurtHarris

I've been going through some of the typescript features that you've been adding into the project and noticed in issue #123 that after adding in the compiler step that 20 of the tests were failing.

I've narrowed it down to a problem with lazy-initialize being used in the Meta constructor in the private/utils file.

For some reason Meta is not being called during the loading of certain decorators, although funnily enough it still passes it's own tests. I'll keep looking into this when I have time but if you can think why this might be happening I'm all ears.

Removing the decorator from the Meta class allows all 73 tests to pass.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions