Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FEATURE: Extract workspace metadata and user-assignment to Neos #3838

Open
wants to merge 10 commits into
base: 9.0
Choose a base branch
from

Conversation

bwaidelich
Copy link
Member

@bwaidelich bwaidelich commented Aug 9, 2024

@github-actions github-actions bot added the 9.0 label Aug 9, 2024
@bwaidelich bwaidelich self-assigned this Sep 18, 2024
@bwaidelich bwaidelich marked this pull request as ready for review September 27, 2024 09:02
@mhsdesign mhsdesign changed the title Draft: FEATURE: Extract workspace metadata and user-assignment to Neos FEATURE: Extract workspace metadata and user-assignment to Neos Sep 27, 2024
@github-actions github-actions bot added the Feature Label to mark the change as feature label Sep 27, 2024
@@ -14,7 +14,7 @@
"require": {
"neos/flow-development-collection": "9.0.x-dev as 9.0",

"neos/neos-development-collection": "9.0.x-dev as 9.0",
"neos/neos-development-collection": "feature/4726-extract-workspace-metadata-and-user-assignment-to-neos-dev as 9.0",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

revert me :)

Comment on lines 338 to 343
$command['contentRepositoryId'] = $contentRepositoryId->value;
$command['siteId'] = $this->nodeService->deserializeNodeAddress(
$siteNodeAddress = $this->nodeService->deserializeNodeAddress(
$command['siteId'],
$contentRepositoryId
)->nodeAggregateId->value;
$command = DiscardChangesInSite::fromArray($command);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i know this currently looks weird but this was just introduced by Bernhard and Wilhelm and we plan - as the comment says @todo send from UI - to send the array shape directly from the neos ui and then call DiscardChangesInSite::fromArray just to have type safety. Eventually each command will have its own proper command handler etc but right now its in an in between state. So i would like to keep the usages to the commands.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

reintroduced the usages. Otherwise we would also have ugly conflicts with #3858

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
9.0 Feature Label to mark the change as feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants