-
Notifications
You must be signed in to change notification settings - Fork 13
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
Support different email libraries #74
Support different email libraries #74
Conversation
@rktjmp Thanks for your patience ❤️. I know it's been a lot of back and forth but I think it's finally ready to be merged once the dialyzer issues are fixed and the conflict with master is resolved Let me know if there's something I can help with 🙌 BTW: you can run |
c7f2f7e
to
0fd8df2
Compare
Think its all good to go. I had to adjust the some dialyzer settings so it loaded the optional dependencies. |
|> text_body(TextContent.build(error_info)) | ||
|
||
options[:mailer].deliver_later!(email) | ||
if Code.ensure_loaded?(Bamboo) do |
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.
https://elixirforum.com/t/is-there-a-guide-for-relying-on-optional-dependencies-in-a-library/37318
Seems to be the prescribed method, or at least, "not illegal". Without these checks downstream users get compiler errors when building boom.
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.
Yeah, I agree this is the way to do it (or at least I can't come up with a better way to do it)
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.
This is awesome! Thanks for your contribution and the hard work you've put on it ❤️
I'll try to make a release with this change this week 🚀
Released in v0.7.0 |
🎉 |
rebase
from master, See also: #71 #70 #61.It's been a moment since I was looking at this, just reopening to confirm it's not dead on my end.
Remaining tasks