Skip to content

TASK: Make neos/symfonymailer an optional dependency#97

Merged
dlubitz merged 2 commits intoneos:mainfrom
dlubitz:task/optional-symfonymailer
Apr 15, 2025
Merged

TASK: Make neos/symfonymailer an optional dependency#97
dlubitz merged 2 commits intoneos:mainfrom
dlubitz:task/optional-symfonymailer

Conversation

@dlubitz
Copy link
Copy Markdown
Contributor

@dlubitz dlubitz commented Apr 15, 2025

To prevent a hard dependency to the neos/symfonymailer package, the MailerService is fetched directly from the object manager. The ProxyBuilding doesn't allow any injection without the class existing.

Copy link
Copy Markdown
Member

@bwaidelich bwaidelich left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you. I think, it's a good decision not to make this a hard dependency for now

@dlubitz dlubitz merged commit 59ade3f into neos:main Apr 15, 2025
7 checks passed
@dlubitz dlubitz deleted the task/optional-symfonymailer branch April 15, 2025 10:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants