You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would you be interested in adding instrumentation support to premailer-rails?
Recently I've been working on a small feature that relies on mail interception. I'm using premailer-rails to generate text parts for emails. I've had a hard time figuring out why emails intercepted by my custom interceptor had their text_part set to nil. I was using initializer file to register it and as it turned out, my interceptor was added before Premailer::Rails::Hook.
I thought it'd be cool if you could hook into premailer-rails initializaition process to ensure that your custom interceptors are registered after those defined by premailer-rails. Here's what I've in mind:
Evening folks, hope you are well!
Would you be interested in adding instrumentation support to
premailer-rails
?Recently I've been working on a small feature that relies on mail interception. I'm using
premailer-rails
to generate text parts for emails. I've had a hard time figuring out why emails intercepted by my custom interceptor had theirtext_part
set tonil
. I was using initializer file to register it and as it turned out, my interceptor was added beforePremailer::Rails::Hook
.I thought it'd be cool if you could hook into
premailer-rails
initializaition process to ensure that your custom interceptors are registered after those defined bypremailer-rails
. Here's what I've in mind:Is that something you'd be interested in?
Looking forward to you response,
Cheers!
The text was updated successfully, but these errors were encountered: