-
Notifications
You must be signed in to change notification settings - Fork 593
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
Introduce PublicationAddress.TryParse and switch BasicProperties.ReplyToAddress to use it #831
Conversation
…ge-properties-do-not-throw"" This reverts commit ed65854. See the discussion in #827. We will slightly tweak the approach but at the very least the test added by @ig-sinicyn can be retained.
instead of changing the behavior of an existing one. Per discussion with @bording and @ig-sinicyn in #827.
@bording @ig-sinicyn is my interpretation of the |
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.
Code formatting is very odd ... is this visual studio code?
Ready for another round. |
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.
👍 from me. I would appreciate a quick glance from @bording (no hurry!)
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.
Made a suggestion for a change, but it's just a simplification.
Introduce PublicationAddress.TryParse and switch BasicProperties.ReplyToAddress to use it (cherry picked from commit 9f0e9f5)
@bording as always, thanks for your input! |
Proposed Changes
This is an alternative to #828 (with @ig-sinicyn's test case retained for credit) which does
not change the behavior of
PublicationAddress.Parse
and instead introducesPublicationAddress.TryParse
which is then used byBasicProperties.ReplyToAddress
.Types of Changes
Checklist
CONTRIBUTING.md
document