-
-
Notifications
You must be signed in to change notification settings - Fork 499
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
Schema not inherited in query with relations #4472
Labels
bug
Something isn't working
Comments
Please provide complete reproduction as code, this is not enough. Tried to use joined strategy in this test and it seems to be working fine: |
@B4nan, execute this test: |
mlusca
added a commit
to mlusca/mikro-orm
that referenced
this issue
Jun 22, 2023
B4nan
pushed a commit
that referenced
this issue
Jun 23, 2023
When both tables have wildcard schema, join not use the correct schema. Closes #4472
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
When performing a query with relations and using a JOINED type strategy, the schema is not inherited by the related entity.
Remember that both entities must use the wildcard operator in schemas.
SELECT_IN strategy works.
To Reproduce
Steps to reproduce the behavior:
Versions
The text was updated successfully, but these errors were encountered: