someUser.posts.get() will return the user's posts, with the global scopes correctly invoked.
someUser.posts().retrieveQuery().get() will not invoke the global scopes on the query.
someUser.posts().withSomeScope().retrieveQuery().get() works, so you can work around the issue by just manually invoking all the scopes you want, but code relying on relationship's global scopes being applied in a drop-to-qb situation will break with v6.
Given entity
user
with manyposts
:someUser.posts.get()
will return the user's posts, with the global scopes correctly invoked.someUser.posts().retrieveQuery().get()
will not invoke the global scopes on the query.someUser.posts().withSomeScope().retrieveQuery().get()
works, so you can work around the issue by just manually invoking all the scopes you want, but code relying on relationship's global scopes being applied in a drop-to-qb situation will break with v6.