Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Relation with property path translations in entity was not found. #2

Closed
OlexanderKulyk opened this issue Sep 11, 2023 · 1 comment
Closed

Comments

@OlexanderKulyk
Copy link

Relation with property path translations in entity was not found.

it's error, I get on simply repository, without TranslatableRepository

@HanMoeHtet
Copy link
Owner

@OlexanderKulyk I think the default entityManager from appDataSource was overridden which was not the intended behavior.
For now, just create a new entityManager for the repository instead of directly using appDataSource.entityManger.

https://github.com/HanMoeHtet/typeorm-translatable#usage-for-repository-extension-experimental

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants