-
-
Notifications
You must be signed in to change notification settings - Fork 224
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: Cleanup and stabilize Neos.ContentGraph.DoctrineDbalAdapter
#5088
Conversation
and use RuntimeException instead Note: There is no need for a custom exception class for these unexpected cases and a DomainException is not the correct exception class anyways
Neos.ContentGraph.DoctrineDbalAdapter/src/DoctrineDbalContentGraphProjection.php
Show resolved
Hide resolved
Neos.ContentGraph.DoctrineDbalAdapter/src/DoctrineDbalContentGraphSchemaBuilder.php
Show resolved
Hide resolved
Neos.ContentGraph.DoctrineDbalAdapter/src/DoctrineDbalContentGraphSchemaBuilder.php
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wow, this was quite a lot 🙈
Thanks for working through this. I like especially the fetchFirstColumn
improvement. 👍
I just found one litte typo.
Neos.ContentGraph.DoctrineDbalAdapter/src/DoctrineDbalContentGraphProjection.php
Outdated
Show resolved
Hide resolved
Neos.ContentGraph.DoctrineDbalAdapter/src/DoctrineDbalContentGraphProjection.php
Show resolved
Hide resolved
Neos.ContentGraph.DoctrineDbalAdapter/src/DoctrineDbalContentGraphProjection.php
Show resolved
Hide resolved
Neos.ContentGraph.DoctrineDbalAdapter/src/DoctrineDbalContentGraphProjection.php
Show resolved
Hide resolved
Co-authored-by: Denny Lubitz <[email protected]>
Neos.ContentGraph.DoctrineDbalAdapter/src/Domain/Projection/Feature/SubtreeTagging.php
Outdated
Show resolved
Hide resolved
...tentGraph.DoctrineDbalAdapter/src/Domain/Projection/ProjectionIntegrityViolationDetector.php
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the adjustments so far, left some comments. I still have to review the sql changes in these classes:
- Neos.ContentGraph.DoctrineDbalAdapter/src/Domain/Projection/ProjectionIntegrityViolationDetector.php
- Neos.ContentGraph.DoctrineDbalAdapter/src/Domain/Repository/ProjectionContentGraph.php
Neos.ContentGraph.DoctrineDbalAdapter/src/DoctrineDbalContentGraphProjection.php
Show resolved
Hide resolved
I like what I am seeing so far 😆 When the reminaing convos are fixed this is good to go IMHO. Thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thought I would give this a thorough review, but… the files with the large diffs are beyond me today…
So take a carefully crafted "LGTM, IMHO, 👍 by 😎" from me.
I can fully comprehend.. Thanks for trying – and hopefully those changes make future diffs easier to read :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay this was not a pleasure to review :P (especially because you pushed new changes :D) but thanks for your cleanup ^^
Ps i actually tried out the phpstorm gh intergration and here the diff is a little more plesant and for the cases even phpstorm couldnt keep up you can copy the text and select another pasage and compare to clipboard.
So my eagle eye says +1 Thanks for keeping this separate :D
*/ | ||
public function referencesAreDistinctlySorted(): Result | ||
{ | ||
// TODO implement |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hello world, but you just added the todo, seems like it wasnt implemented beforehand as well
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
correct. Todos can be searched for. There should be no stubs without
Cleans up and stabilizes the implementation of the
Neos.ContentGraph.DoctrineDbalAdapter
implementation by...when*()
methods from Traits to the mainDoctrineDbalContentGraphProjection
protected
in final classes)