Thanks to visit codestin.com
Credit goes to github.com

Skip to content

feat: proxy transport events to events on the mailer component #52

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

Merged
merged 4 commits into from
May 26, 2023

Conversation

SamMousa
Copy link
Contributor

This implements a proxy for forwarding PSR-14 events to Yii2 components.
This is a WIP and I'd like discuss how the code works and how we should release it.
It is probably cleanest do put this in a separate library similar to https://github.com/yiisoft/yii2-psr-log-source

Q A
Is bugfix?
New feature? ✔️
Breaks BC?
Fixed issues #42

@SamMousa
Copy link
Contributor Author

@samdark apologies for the rude ping. Could you have a look at this and tell me if you think this should be in:

  • This library
  • A separate mini library
  • The Yii Core

I'd be happy to implement it in your preferred way. My opinion is that a mini library is the cleanest and with automated release like we have for the yii2-psr-log-source library the packaging / release overhead should actually be minimal.

@samdark
Copy link
Member

samdark commented May 22, 2023

@SamMousa what's the plan on this one?

@samdark
Copy link
Member

samdark commented May 22, 2023

Sorry for now answering in time. I've missed it somehow :(

Separate package sounds OK but having it in this package is fine as well.

@SamMousa
Copy link
Contributor Author

SamMousa commented May 22, 2023 via email

@samdark samdark marked this pull request as ready for review May 24, 2023 09:52
@samdark
Copy link
Member

samdark commented May 24, 2023

I think having it in this package makes sense since there are no additional use-cases that we were asked for yet. We can extract it later if needed.

Would you please add a line for CHANGELOG?

@samdark samdark changed the title [WIP] feat: proxy transport events to events on the mailer component feat: proxy transport events to events on the mailer component May 24, 2023
@samdark samdark added this to the 3.0.1 milestone May 24, 2023
@samdark
Copy link
Member

samdark commented May 24, 2023

Also, it would be great to have master merged into this branch.

@SamMousa SamMousa requested a review from samdark May 24, 2023 10:29
@SamMousa
Copy link
Contributor Author

Ready for merge @samdark

@samdark samdark merged commit 70c4d71 into yiisoft:master May 26, 2023
@samdark
Copy link
Member

samdark commented May 26, 2023

👍

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