Closed jarrodmoldrich closed 2 years ago
Just seen that you've made the same changes... embarrassing. I'll open a new updated PR
So I've rebased on your latest upstream commits. I've removed the template function in line with yours. It still lives in the history at 1af8256
Fixed in 0.3.0
Hi @kalys ,
I needed the ability to add tags to an email, and it seems this feature is available upstream on
:ex_aws_ses
. To use the feature required extracting:tags
from the private dictionary contained inBamboo.Email
, and then passing it to:ex_aws_ses
. It also required an update to the:ex_aws_ses
library, which entailed a change to how templated emails are passed - that is, it now uses an explicit function.I made the requisite changes, which pass the tests, and also added a new test to demonstrate passing tags. The templating function inside
:ex_aws_ses
handles json pre-encoding of the data, so I was also able to removeJason
from the dependencies.All things considered, the patch is very minor. Let me know what you think. It would be good to see this hit upstream on git
Cheers,
Jarrod