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

refactor some request code to make the flow simpler & reduce side effects #96

Merged
merged 2 commits into from
Jan 3, 2024

Conversation

joeshaw
Copy link
Member

@joeshaw joeshaw commented Dec 8, 2023

I started doing this to bring #44 up-to-date to decide if we really want to do it. I found the inconsistency on whether to use the struct members confusing, so I removed them. Another approach would be to go the other way and lean into tracking that state on the Request struct.

@JakeChampion
Copy link
Contributor

@joeshaw is this waiting for a review?

@joeshaw
Copy link
Member Author

joeshaw commented Jan 3, 2024

@JakeChampion Yes, and so is #44, its related PR.

@joeshaw joeshaw merged commit c339b66 into main Jan 3, 2024
10 checks passed
@joeshaw joeshaw deleted the joeshaw/request-cleanup branch January 3, 2024 18:32
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.

2 participants