-
-
Notifications
You must be signed in to change notification settings - Fork 399
Remove ComponentAttributeFactory and inject EscaperRuntime directly #2749
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
Conversation
Kocal
left a comment
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.
Very few comments, otherwise it looks nice to me 🤩
nicolas-grekas
left a comment
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.
Simplicity FTW 🚀
just minor comments to fix before merge
|
(remaining fabbot failures unrelated / false positives) |
eef2738 to
13755d9
Compare
|
Thank you @smnandre. |
|
Is it expected that |
|
Thanks |

Replaces the
ComponentAttributesFactorywith direct usage of theEscaperRuntimefrom TwigInject
EscaperRuntimeinComponentAttributesComponentAttributesFactorywithTwig\EnvironmentandEscaperRuntimeinAddLiveAttributesSubscriber,LiveComponentHydrator, andChildComponentPartialRenderer, ensuringComponentAttributesis instantiated with the necessaryEscaperRuntime.ComponentAttributesconstructor to requireEscaperRuntimedirectly, removing the deprecatedHtmlAttributeEscaperInterface.Remove
ComponentAttributeFactoryComponentAttributesFactoryand its related logic across the codebaseComponentAttributesFactoryDependency Updates
symfony/ux-twig-componentdependency incomposer.jsonto version^2.25.1Documentation Updates
CHANGELOG.mdfor version2.25.1