Skip to content
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

Cast substitution values to strings #410

Merged
merged 1 commit into from
Jul 20, 2017

Conversation

dangerismycat
Copy link
Contributor

This allows for numbers as well as strings for substitution values. Could still use some type checking and error handling to inform the user if they send an object (which also has a toString method, so won't throw) or other invalid value type.

Fixes #282.

This allows for numbers as well as strings for substitution values. Could still use some type checking and error handling to inform the user if they send an object (which also has a `toString` method, so won't throw) or other invalid value type.

Fixes sendgrid#282.
@thinkingserious thinkingserious added the status: code review request requesting a community code review or review from Twilio label Jul 20, 2017
@SendGridDX
Copy link
Collaborator

SendGridDX commented Jul 20, 2017

CLA assistant check
All committers have signed the CLA.

@thinkingserious thinkingserious merged commit ae8a935 into sendgrid:master Jul 20, 2017
@thinkingserious
Copy link
Contributor

Hello @dangerismycat,

Thanks again for the PR!

We want to show our appreciation by sending you some swag. Could you please fill out this form so we can send it to you? Thanks!

Team SendGrid DX

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: code review request requesting a community code review or review from Twilio
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants