Merge branch 'modules-depends-via-target-objects' into release-3.27

Merge-request: !8923