Setting Personalization Removes Existing template_data #1037
Labels
status: waiting for feedback
waiting for feedback from the submitter
type: question
question directed at the library
Issue Summary
I am trying to determine why using
add_personalization
removes the existingdynamic_template_data
I already set on my mail object. If this is desired behavior, I would have expected some kind of note about it in the docs, or preferably a warning in the code.I tried looking in the knowledge base, on github issues, and on stack overflow. I could not find anything to suggest why this might be happening. I found the workaround by simply resetting dynamic_template_data. I could, of course, simply add the personalization first and then add the dynamic_template_data, but this seemed like a silent gotcha that should be brought to the sendgrid team's awareness.
Steps to Reproduce
Code Snippet
Exception/Log
Technical details:
The text was updated successfully, but these errors were encountered: