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: Remove unused Fusion\Core\ParserInterface
#3932
TASK: Remove unused Fusion\Core\ParserInterface
#3932
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.
Useless things must go. 🤷♂️
fyi - option B would be to actually use this interface by injecting the ParserInterface via di instead of using |
Thus offering an extension point we do not even remotely expect to be used. 🤔 Sounds weird. |
yes - and one can always use aop ^^ |
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.
Remove stuff that serves no purpose
@mhsdesign can you upgrade the message of the pr to a descriptive text that can be used in the release notes. The current text can be moved to the release notes section that is nut included in the release notes Suggestion:
|
yes ;) Initial PR message:While working on #3497
but back then the consent was:
Now the question came up again with #3839 We re-discussed this matter and as there are still A few opinions:
|
The
Fusion\Core\ParserInterface
is removed as it could not be used to implement an alternative Fusion parser. The removal of the interface will allow to improve the interface of the parser in future.Upgrade instructions
If you must access the Fusion parser directly - then dont inject it by using the
Fusion\Core\ParserInterface
but inject or instantiateFusion\Core\Parser
.The recommended way to interact with Fusion is via the FusionView
Review instructions
Checklist
FEATURE|TASK|BUGFIX
!!!
and have upgrade-instructions