-
-
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
Decouple Node
read-model from NodeType
(remove Node::nodeType
field)
#5019
Comments
As discussed in here
Perfect. For node label generation we introduce a standalone Neos' singleton Lines 23 to 32 in 3fb0d57
For Fusion we can create a migration that rewrites |
In the core we could easily fix it anyways. The real issue is, that it is used out in the wild. |
Fixed via #5021 |
With #4466 the fallback nodetype handling was removed from the core nodetype provider and extracted to neos. (inside a trait
NodeTypeWithFallbackProvider
)That required to make the
nodeType
field nullable on the NodeType and we also deprecated it.Staying in this intermediate step for longer has the following downsides:
NodeTypeManager
#4228CatchUpHooks
withContentRepositoryHooks
#4992Node::nodeType
even if its discouraged which will lead to possibly buggy code.Node::getNodeType
toNode::nodeType
i could very well imagine to adjust this migration to use the nodeType manager: https://github.com/neos/rector/blob/4843c45f5bd901bd63aad0d1d0367df394e2cd1e/config/set/contentrepository-90.php#L145Same / similar points phrased slightly different from @bwaidelich in slack:
The text was updated successfully, but these errors were encountered: