You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is the same issue as this: #5389 but with object set to true for the embeddable field instead.
Error: InvalidFieldNameException: select "b0".* from "book" as "b0" left join "author" as "a1" on "b0"."author_id" = "a1"."id" order by "b0"."embeddable_age" asc - column b0.embeddable_age does not exist
If i remove the object: true in my example it works.
Describe the bug
This is the same issue as this: #5389 but with object set to true for the embeddable field instead.
Error:
InvalidFieldNameException: select "b0".* from "book" as "b0" left join "author" as "a1" on "b0"."author_id" = "a1"."id" order by "b0"."embeddable_age" asc - column b0.embeddable_age does not exist
If i remove the
object: true
in my example it works.Reproduction
https://github.com/co-sic/node-mikro-orm-playground/tree/embeddable-sorting
What driver are you using?
@mikro-orm/postgresql
MikroORM version
6.2.5
Node.js version
20
Operating system
No response
Validations
The text was updated successfully, but these errors were encountered: