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

TASK: Try to pass one ContentGraphTableNames instance along instead… #3

Conversation

mhsdesign
Copy link

@mhsdesign mhsdesign commented May 9, 2024

… of magic strings

in some places we still use the old and new way.

see neos#5028 (comment)

Upgrade instructions

Review instructions

Checklist

  • Code follows the PSR-2 coding style
  • Tests have been created, run and adjusted as needed
  • The PR is created against the lowest maintained branch
  • Reviewer - PR Title is brief but complete and starts with FEATURE|TASK|BUGFIX
  • Reviewer - The first section explains the change briefly for change-logs
  • Reviewer - Breaking Changes are marked with !!! and have upgrade-instructions

… of magic strings

in some places we still use the old and new way.
Copy link

@bwaidelich bwaidelich left a comment

Choose a reason for hiding this comment

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

Still not the biggest fan of this extra object, but that makes it simpler and easier to comprehend, thanks!

Comment on lines +57 to +59
return ContentGraphTableNames::create(
$this->currentContentRepository->id
);
)->tableNamePrefix;

Choose a reason for hiding this comment

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

(why) is this method still needed if we don't work with the table name prefixes any longer?

Copy link
Owner

Choose a reason for hiding this comment

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

it is not if we fully rewrite this.

@kitsunet kitsunet merged commit 4f77596 into kitsunet:feature/content-graph-bound May 10, 2024
2 checks passed
@mhsdesign mhsdesign deleted the task/refactorFurtherToContentGraphTableNames branch May 10, 2024 09:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants