Assets English < German Projectio Events Event Store New Conten t Reposit ory Comman ... Projectio Events Event Store New Conten t Reposit ory Comman ... Projectio Events Event Store New Conten t Reposit ory Comman ...
... neos/contentrepository-development-collection neos/neos-development-collection 9.0 "you can start using the new CR alpha for projects with not many package dependencies." "please adjust your packages for Neos 9.0" April '22 August '22 December '22 April '23 est. August '23 Big changes will be coordinated with 9.x 9.0 branch master branch 8.1 branch 8.2 branch 8.3 branch "the fi rst sites run on new CR, please start adjusting your packages"
'myValue'); // When are things persisted?? no clue. // Non-Complete Node // How do we get the parent node? // I always have to look this up - ugly!! $context = $this->contextFactory->create([ // what other parameters can I specify here?? 'workspaceName' => 'live', 'invisibleContentShown' => $invisibleContentShown, 'dimensions' => [ 'language_country' => $dimension ], 'targetDimensions' => [ // Who knows the difference between "dimensions" and "targetDimensions"? 'language_country' => $preset ] ]); $node = $context->getRootNode()->getNode('sites/site');
Workspace NodeAggregateIdentifier::create(), // generate a new Identifier NodeTypeName::fromString('My.Package:MyNodeType'), OriginDimensionSpacePoint::fromDimensionSpacePoint($parentNode->getDimensionSpacePoint() // which language version to create? UserIdentifier::forSystemUser(), $parentNode->getNodeAggregateIdentifier(), // ID of parent node null, null, PropertyValuesToWrite::fromArray([ // Initial values 'myProperty' => 'myValue' ]) ); $commandResult = $this->nodeAggregateCommandHandler ->handleCreateNodeAggregateWithNode($command); // This will change in the future to $contentRepository->handle($command); $commandResult->blockUntilProjectionsAreUpToDate();
from the context $node->getNode('foo')->getProperties(); // You can only traverse through the tree // If you just updated a node, will it contain the old or the new properties? // If you just created a node, will it already be findable?
is deprecated; and right now we only support # the following two operations: x = ${q(node).context({workspaceName: "user-foo"})} x = ${q(node).context({invisibleContentShown: true})} # .nodePath is deprecated (and expensive). Use the NodeAddress # instead and do not rely on the path information x = ${q(node).nodePath}