Skip to content

Conversation

@rbtr
Copy link
Collaborator

@rbtr rbtr commented Jul 27, 2021

Reason for Change:

Upgrade the response codes from raw int to a first-class ResponseCode type. Implicitly guarantees that the codes being returned are a known response code, since returns must be correctly typed to compile.

Issue Fixed:

Requirements:

Notes:

@rbtr rbtr changed the title chore: typed error response code chore: typed response codes Jul 27, 2021
@rbtr rbtr requested review from matmerr and neaggarwMS July 27, 2021 23:09
@rbtr rbtr force-pushed the typed-response-code branch from 7ecd585 to 84af0cb Compare July 27, 2021 23:45
@rbtr rbtr force-pushed the typed-response-code branch 3 times, most recently from 3facbbf to fd99c17 Compare July 28, 2021 18:25
Copy link
Member

@neaggarwMS neaggarwMS left a comment

Choose a reason for hiding this comment

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

🕐

@rbtr rbtr requested a review from tamilmani1989 July 28, 2021 20:18
@tamilmani1989 tamilmani1989 self-requested a review July 28, 2021 21:47
@rbtr rbtr force-pushed the typed-response-code branch from fd99c17 to 325b2ec Compare August 6, 2021 20:41
@rbtr rbtr dismissed stale reviews from tamilmani1989 and neaggarwMS August 6, 2021 21:15

wontfix

@rbtr
Copy link
Collaborator Author

rbtr commented Aug 6, 2021

failing test is unrelated and was introduced in #960 (comment)

@rbtr rbtr merged commit 212105f into Azure:master Aug 6, 2021
@rbtr rbtr deleted the typed-response-code branch August 6, 2021 21:22
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.

5 participants