Open mhsdesign opened 6 days ago
I think I like this direction
Imho If the tests for ForkContentStream are removed, the command itself must be removed as well. Otherwise we have untested code paths and I really dislike that.
We dont remove the tests for ForkContentStream
, we just test it from a higher perspective. Effectively the test is the same.
But we could surely just inline the forking logic in the CreateWorkspace
command i guess as we wont be needing an api way to just fork a content stream. However if we decide to go down that road i would like to keep that change separate as it will likely also span the CreateContentStream
and further commands that are now obsolete standalone.
Okay i did declare the content stream commands as internal:
@internal implementation detail, please use the higher level workspace commands instead.
do you agree as well on going down this road now @nezaniel?
Resolves: #5034 Replaces: https://github.com/neos/neos-development-collection/pull/5167 Replaces: https://github.com/neos/neos-development-collection/pull/5144
CRTestSuiteRuntimeVariables::$currentContentStreamId
I am in content stream
in the behat tests.\Neos\ContentRepository\Core\ContentGraphFinder::getByWorkspaceNameAndContentStreamId
is now no longer in use by the tests and can be changed to be not at all exposed.$node->subgraphIdentity->contentStreamId
in\Neos\ContentRepository\TestSuite\Behavior\...\NodeDiscriminator::fromNode
Upgrade instructions
Review instructions
Checklist
FEATURE|TASK|BUGFIX
!!!
and have upgrade-instructions