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
* fix(pinia-orm): Query constraints with nested relations in m:m relations broken (#625)
* fix(pinia-orm): Query constraints with nested relations in m:m relations broken
* refactor(pinia-orm): remove skip in test
* feat(pinia-orm): Add the option to sort case insensitive with `sortBy` (#636)
* docs(pinia-orm): Add requirements info for nuxt 2 users (#638)
* refactor(normalizr): reduce code to only used by orm (#641)
* perf(pinia-orm-659): Save hydrated models if not updated (#671)
* perf(pinia-orm-659): Save hydrated models if not updated
* refactor(pinia-orm): typo
closes#659, #623, #628
Environment
(I don't use Nuxt)
Reproduction
https://codesandbox.io/s/wizardly-wood-cq6t5f?file=/src/App.vue
Describe the bug
When I use a many to many relation, I can't use a subquery to get a relation on the related model.
E.g.
If I want to get all users of all roles, and then get all posts of these users, the posts object key of the returned object is empty :
But if I try to get posts directly from user, it works :
Thank you for your help and sorry for my bad English !
Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered: