-
Notifications
You must be signed in to change notification settings - Fork 714
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
Fix typography on mail helper refactor proposal #353
Fix typography on mail helper refactor proposal #353
Conversation
proposals/mail-helper-refactor.md
Outdated
@@ -105,7 +105,7 @@ import sendgrid | |||
from sendgrid.helpers.mail import * | |||
|
|||
msg = Mail(from_email=From('[email protected]', 'From Name'), | |||
to_email=To('[email protected]', 'To Name'), | |||
to_emails=To('[email protected]', 'To Name'), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a single email address, should it stay singular?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe it should stay singular in this case.
proposals/mail-helper-refactor.md
Outdated
@@ -175,7 +175,7 @@ msg.bcc = [ | |||
|
|||
msg.header = Header('X-Test5', 'Test5', p=1) | |||
msg.header = Header('X-Test6', 'Test6', p=1) | |||
msg.headers = [ | |||
msg.header = [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This can be multiple headers, should it stay plural?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it should stay plural in that case.
proposals/mail-helper-refactor.md
Outdated
@@ -228,7 +228,7 @@ msg.attachment = [ | |||
msg.template_id = TemplateId('13b8f94f-bcae-4ec6-b752-70d6cb59f932') | |||
|
|||
msg.global_header = Header('X-Day', 'Monday') | |||
msg.global_headers = [ | |||
msg.global_header = [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This can be multiple headers, should it stay plural?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this should remain plural.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have left some comments on the plurality of the var names that are changed in this PR
proposals/mail-helper-refactor.md
Outdated
@@ -105,7 +105,7 @@ import sendgrid | |||
from sendgrid.helpers.mail import * | |||
|
|||
msg = Mail(from_email=From('[email protected]', 'From Name'), | |||
to_email=To('[email protected]', 'To Name'), | |||
to_emails=To('[email protected]', 'To Name'), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe it should stay singular in this case.
proposals/mail-helper-refactor.md
Outdated
@@ -175,7 +175,7 @@ msg.bcc = [ | |||
|
|||
msg.header = Header('X-Test5', 'Test5', p=1) | |||
msg.header = Header('X-Test6', 'Test6', p=1) | |||
msg.headers = [ | |||
msg.header = [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it should stay plural in that case.
proposals/mail-helper-refactor.md
Outdated
@@ -228,7 +228,7 @@ msg.attachment = [ | |||
msg.template_id = TemplateId('13b8f94f-bcae-4ec6-b752-70d6cb59f932') | |||
|
|||
msg.global_header = Header('X-Day', 'Monday') | |||
msg.global_headers = [ | |||
msg.global_header = [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this should remain plural.
We have not been able to merge your Pull Request, but because you are awesome - we wanted to make sure you could still get a SendGrid Hacktoberfest shirt. Please go fill out our swag form before Nov 5th and we will send the shirt! (We know that you might have tried this before and it didn’t work, sorry about that!) You have till Nov 5th to fill out this form in order to get the Hacktoberfest shirt!Thank you for contributing during Hacktoberfest! We hope to see you in the repos soon! Just so you know, we always give away a SendGrid shirt for your first ever non-Hacktoberfest PR that gets merged. |
Hi @yothinix, Could you please update this PR based on our feedback? Thanks! With Best Regards, Elmer |
@thinkingserious Just update as in feedback. |
Thank you @yothinix! |
Hello @yothinix, |
I found these typography during study on the proposal spec.
Changes proposed in this pull request:
tos
toto_emails
on Send Multiple Emails to Multiple Recipients exampleto_email
toto_emails
on Kitchen Sink exampleheaders
to beheader
on Kitchen Sink exampleglobal_headers
to beglobal_headers
on Kitchen Sink exampleconnect to #347