Skip to content

typeorm에서 repository를 가져오지 못하는 문제 #44

Description

@lotstar87

error message

looks like this entity is not registered in current default connection

상세

shell에서 board-app, board-test를 devDependency로 추가 후 테스트하면, domain관련 에러가 발생.
debug 해보면, entitymanager에 font, user, user-notification만 존재해서 domain을 찾을 수 없는 문제임.

하지만, connection의 entityMetadatas를 보면 domain이 존재하는 것을 볼 수 있음.

typeorm connection detail:
image

entity manager detail:
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    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