neos / neos-development-collection

The unified repository containing the Neos core packages, used for Neos development.
https://www.neos.io/
GNU General Public License v3.0
260 stars 221 forks source link

TASK: Remove usages of `$node->subgraphIdentity->contentStreamId` in structure adjustments #5081

Closed mhsdesign closed 4 months ago

mhsdesign commented 4 months ago

Solves partially: https://github.com/neos/neos-development-collection/issues/5043

1.) Remove now obsolete ProjectedNodeIterator and expose $contentGraph directly

$this->projectedNodeIterator->nodeAggregatesOfType has been rewritten to $this->contentGraph->findNodeAggregatesByType

The ProjectedNodeIterator was before https://github.com/neos/neos-development-collection/pull/5028 required to encapsulate findNodeAggregatesByType to only work on the live workspace.

2.) Remove calls to $node->subgraphIdentity->contentStreamId and ask the content stream id from the content graph like started via https://github.com/neos/neos-development-collection/pull/5002

Upgrade instructions

Review instructions

Checklist