-
Notifications
You must be signed in to change notification settings - Fork 780
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
Disable dynamic template char warning #931
Comments
Hello @alberto-fp-24, Good call, I've added this to our backlog and also tagged it appropriately in case someone in our Node.js community would like to make a PR. With Best Regards, Elmer |
@thinkingserious thank you very much. I created a PR for this #932 |
Hello, we are also having this problem since updating sendgrid/helpers from 6.3.0 to 6.4.0. We are using {{{ }}} but the warning is still logged. Is this the intended behaviour? |
Hello @vieira, For now this is intended behavior; however, @albertor24 PR #932 gives you the option to hide that warning. It will be included in the next release of this SDK. Thanks! With Best Regards, Elmer |
#965 is a duplicate of this issue. |
Fixed by #932 which was included in the 6.5.0 release. |
In sgMail.send function data parameter add hideWarnings : true value to suppress the warnings |
Currently, when passing dynamicTemplateData that contains a quote or an ampersand, I am warned that I may need to use three brackets on the template.
While it was originally very helpful, now it is cluttering my logs. Is there any way to disable this warning (other than overwriting
console.warn
)?The text was updated successfully, but these errors were encountered: