Open IvanWillsBI opened 3 months ago
Hi, @IvanWillsBI.
There is a test for boolean: https://github.com/mailgun/mailgun-go/blob/88d455cf93e9834b53564a654522ac1995120469/messages_test.go#L389
is it incorrect? I can't get why it should be ""foo""
.
_NOTES for myself:
https://documentation.mailgun.com/docs/mailgun/user-manual/sending-messages/#handlebars https://handlebarsjs.com/guide/builtin-helpers.html#if_
Doesn't work for boolean values or numbers (non string values, as they don't appear as ""foo"")
Therefore, in my mailgun template which uses {{#if }} handlebars, I cannot check the boolean value, as it is sent as a string