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

Deprecate InvalidEmailAddressError #134

Merged
merged 6 commits into from
Jan 23, 2023

Conversation

balvig
Copy link
Contributor

@balvig balvig commented Dec 13, 2022

What

Why

This addresses some confusion around this error that can occur for a number of reasons, and not just invalid email addresses, bringing it more in sync with the API definition

How

For now this is just a straight rename with an alias provided for backwards compatibility.
@tomazy let me know if there's anything you had in mind for this! 🙏

@balvig balvig force-pushed the jb/deprecate-invalidemailaddresserror branch 2 times, most recently from a28e601 to e79d23e Compare December 13, 2022 14:47
@balvig balvig force-pushed the jb/deprecate-invalidemailaddresserror branch from e79d23e to 274c6e6 Compare December 13, 2022 14:59
@balvig balvig requested review from pgraham3 and tomek-ac December 13, 2022 15:10
@balvig balvig marked this pull request as ready for review December 13, 2022 15:10
Copy link
Contributor

@pgraham3 pgraham3 left a comment

Choose a reason for hiding this comment

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

👍

@balvig balvig force-pushed the jb/deprecate-invalidemailaddresserror branch from 2e3196f to 55a268f Compare January 16, 2023 14:14
Copy link
Contributor

@tomek-ac tomek-ac left a comment

Choose a reason for hiding this comment

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

@balvig could we somehow let the users know that this class shouldn't be referenced any more? Maybe something like: https://stackoverflow.com/a/29696289

@balvig
Copy link
Contributor Author

balvig commented Jan 23, 2023

could we somehow let the users know that this class shouldn't be referenced any more?

@tomek-ac that's a good idea. 👌
Digging a bit more, I can see that we have several other deprecations, so I will deal with them holistically in a separate PR.

@balvig balvig merged commit 499ae9f into main Jan 23, 2023
@balvig balvig deleted the jb/deprecate-invalidemailaddresserror branch January 23, 2023 14:44
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.

Deprecate InvalidEmailAddressError
3 participants