Open mhsdesign opened 1 month ago
I definitively prefer named arguments over withers...
alternatively we can put succeedingSiblingNodeAggregateId
at the end (after initialProperties
) or just omit this change from this change ... it was just a thought which came up here: https://github.com/neos/neos-development-collection/pull/5082#discussion_r1607733756
i think we definitely want to mark setting the nodeName
as deprecated as it is infact a deprecated feature.
imho node names become a deprecated feature once Neos starts resolving sites by id, not name. I'd agree to make nodename a wither, but not succeeding sibling id since this is a common use case (I'm literally using this at this moment in the starship)
Okay fair enough, in that case i was maybe too quick ... anyways i reverted the change to introduce withSucceedingSiblingNodeAggregateId
. This part is about the node names ;)
Resolves: https://github.com/neos/neos-development-collection/issues/5050
Upgrade instructions
The parameter
$nodeName
is not accepted anymore in the main factory viaCreateNodeAggregateWithNode::create
andCopyNodesRecursively
.Please adjust your code to use the additional
with*
-er instead.If you set their value previously simply to
null
, you can just omit setting this argument.Review instructions
Checklist
FEATURE|TASK|BUGFIX
!!!
and have upgrade-instructions