Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
New contact method #15330
New contact method #15330
Changes from all commits
4298833
d240884
2d50115
7fcecc5
d46b4af
9d1f147
fc38d21
d028688
38a5de7
9c9c703
0dcbed8
2a08b96
782b3b2
b58614d
9723aa7
01ed14a
64577c1
636fc3c
017af2f
b2df6c4
047ee98
85e59bd
335e47b
28ad9d0
cbfd568
3a7f5a6
5f53d85
3211e81
836ed2e
9bae9f8
2959e90
47a6c4d
512fb39
071b551
aba9ecf
ee5252f
12cfc2c
c37480e
f9f0fde
f7e874c
db660c7
b7835f4
e722fb6
73f6a78
6b8383a
7553807
539fa78
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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 wonder if it's for this method to worry about? Like maybe it is fine to call the API even if we know there is no point in it. It could just respond with success in this case?
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.
Ooh interesting idea both ways - I think I would think it's safer to just call the API command no matter what, just in case it does exist in the server and needs to be deleted?
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.
The thing is that if the login is in Onyx only because failed to be added, the delete command fails.
I like the idea of changing Auth to return success when trying to delete a login that doesn't exist.
@Beamanator do you think we could add this to the list with follow-ups?
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.
Good instinct and I think it sounds like a valid Follow Up thing to me.
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.
👍 Added as a polish task!
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.
Not lowercasing the
contactMethod
caused issues when people started testing mixed-case contact methods - #19080