Skip to content

Conversation

@dmendelowitz
Copy link
Contributor

Summary

notificationInfo.from now uses a custom format for emails with a name in front of them. This format considers anything that ends with a valid email to be valid, for example: Example Name [email protected]

New behavior

Config validator has a new custom format that splits the input on spaces and checks that the last element is a valid email.

Code changes

  • configValidator.js now has new custom format email-with-name described above
  • config.schema.json updated to use new format for notificationInfo.from

Testing guidance

Cases to test:

@dmendelowitz dmendelowitz force-pushed the email-with-name-schema branch from cdf6c64 to 9989ea6 Compare July 1, 2021 17:15
@Dtphelan1
Copy link
Contributor

Beyond my one small nitpick, this looks great!

@Dtphelan1 Dtphelan1 self-assigned this Jul 6, 2021
Copy link
Contributor

@Dtphelan1 Dtphelan1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work Dylan!

@julianxcarter julianxcarter self-assigned this Jul 7, 2021
Copy link
Contributor

@julianxcarter julianxcarter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great!

@julianxcarter julianxcarter merged commit e2f32ee into develop Jul 7, 2021
@julianxcarter julianxcarter deleted the email-with-name-schema branch July 7, 2021 17:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants