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
Mandrill.net configures JSON.NET to use NullValueHandling.Ignore, but this causes problems with loops due to the crazy nature of how loop scoping works in Mandrill's handlebars implementation (the specifics of which are covered here and here, the latter of which is from 2016 and shows that the problem is unlikely to be solved by Mandrill any time soon).
I propose changing NullValueHandling to Include since it solves this scenario... for non-array properties.
(Mandrill's array property handling appears to be even worse, requiring a non-empty array to replace the previous iteration's value. The above change will obviously not help with that)
The text was updated successfully, but these errors were encountered:
richardszalay
added a commit
to richardszalay/Mandrill.net
that referenced
this issue
May 5, 2020
Mandrill.net configures JSON.NET to use
NullValueHandling.Ignore
, but this causes problems with loops due to the crazy nature of how loop scoping works in Mandrill's handlebars implementation (the specifics of which are covered here and here, the latter of which is from 2016 and shows that the problem is unlikely to be solved by Mandrill any time soon).I propose changing
NullValueHandling
toInclude
since it solves this scenario... for non-array properties.(Mandrill's array property handling appears to be even worse, requiring a non-empty array to replace the previous iteration's value. The above change will obviously not help with that)
The text was updated successfully, but these errors were encountered: