Skip to content

Mistake in making error message #48

Open
@qodunpob

Description

@qodunpob

There is a mistake:
https://github.com/typeorm/typeorm-typedi-extensions/blob/b6d540e2084c832a66573b23374384d367f725f5/src/errors/entity-type-missing.error.ts#L6

The addition operation will be executed first and the result will never be undefined. For the same reason Missing "entityType" parameter of "@InjectRepository" decorator will never be printed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: fixIssues describing a broken feature.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions