example:
var msg = new SendGridMessage();
var serializerSettings = new Newtonsoft.Json.JsonSerializerSettings
{
NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore,
ContractResolver = new CamelCasePropertyNamesContractResolver()
};
msg.SetTemplateData(dynamicTemplateData, serializerSettings);
Current options are far too restrictive, I can only see that decorating properties with JsonProperty has any type of effect.
Also, I'm sure this test is simply testing Newtonsofts lib.
Pull requests to add this feature are welcome and will be reviewed based on priority, but Twilio SendGrid is not actively building new functionality for the library.
More than happy to do so! Following all guidelines!
Looking at open pull requests, may I ask the time it may take to merge this functionality?
@shervinw @eshanholtz Not sure if the pull request is already there? we have bumped into this with .net 5. https://github.com/sendgrid/sendgrid-csharp/issues/1050
No PRs yet, but they are welcome!
Most helpful comment
More than happy to do so! Following all guidelines!
Looking at open pull requests, may I ask the time it may take to merge this functionality?