-
-
Notifications
You must be signed in to change notification settings - Fork 188
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: Introduce EEL tracer for handling Neos9 deprecations #3386
FEATURE: Introduce EEL tracer for handling Neos9 deprecations #3386
Conversation
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.
Before/after performance in a reasonably big site please ;) I think as small as this is, it will be a performance hit.
Of course if Fusion implements a stupid tracer that is way too slow by doing to many things there will be a performance hit, BUT as i have drawn out above we want to set the tracer fully to $this->tracer?->recordMethodCall($this->value, $method); I also considered introducing some NoopTracer but that would be slower i guess. |
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.
Performance discussed, I am fine with that ✅
I woulnd't call it showMercy
, but that is not part of this change so fine as the example :D
I guess lets bring it in...
Related neos/neos-development-collection#5022
In todays weekly @bwaidelich and me discussed a concrete way how to log deprecations like
node.indentifier
in Neos 8.4 and 9.0The idea is to add a tracer to eel, that will be implemented in Fusion. Technically we would need to add an abstraction to Neos.Fusion as well to not access the Node from there as this is architecturally illegal but to simplify the code and in light that this is just considered for temporary time we propose to implement it as such:
and instantiate this
Neos9RuntimeMigrationTracer
(name tbd) in\Neos\Fusion\Core\Runtime::evaluateEelExpression
Upgrade instructions
Review instructions
Checklist
FEATURE|TASK|BUGFIX
!!!
and have upgrade-instructions