-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
[Auth] Migrate setFields behavior to Response initializer #14023
Conversation
@andrewheard, assuming I did this correctly, this is a refactor to address #14012 (review). While it does remove the |
I think you're right that it was more readable before. If this isn't blocking your plans to make |
Yes, SG. You're right that this won't block future improvements. I think we'd have to do a larger refactor to make response handling code better, and I'm unsure if we can make some of the assumptions along the way. |
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.
Replacing setFields
with an init
is a nice cleanup and I don't think the call-site is any more convoluted than it already was.
#no-changelog