public function findChildNodes(
NodeAggregateId $parentNodeAggregateId,
NodeTypeConstraints $nodeTypeConstraints = null,
int $limit = null,
int $offset = null
): Nodes;
changed to.
public function findChildNodes(
NodeAggregateId $parentNodeAggregateId,
Filter\FindChildNodesFilter $filter
): Nodes;
Meaning an empty FindChildNodesFilter f.e. has always to be instantiated:
with this change (https://github.com/neos/neos-development-collection/commit/f25e44940f6629eb162783c622e7bf53878a9397#diff-35872d162c44bc083ae30164f7e89b289a61df55723ee599916b6372995612af) the filters where introduced for the subgraph. But the nullability got lost:
changed to.
Meaning an empty
FindChildNodesFilter
f.e. has always to be instantiated:though we should consider if it wouldnt be easier to make this param optional:
as it increases readability and usability.
Upgrade instructions
Review instructions
Checklist
FEATURE|TASK|BUGFIX
!!!
and have upgrade-instructions