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: DRY things out #74

Closed
wants to merge 1 commit into from
Closed

Conversation

jocke-l
Copy link
Contributor

@jocke-l jocke-l commented Sep 12, 2020

This PR removes some excessive code which in the long run hopefully will make the code base easier to maintain.

Copy link
Owner

@lundberg lundberg left a comment

Choose a reason for hiding this comment

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

Thanks for contributing @jocke-l .

I'm on both sides regarding this change. Your simplification is actually how the source used to look like, but were discussed in #41 and refactored in #44 😉

I agree that the code is easier to maintain like this, but autocompletion and tracing wins this time I suppose.

Your other refactoring makes sense though...keep that and I'll re-review 👍🏻

Copy link
Owner

@lundberg lundberg left a comment

Choose a reason for hiding this comment

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

Looking good!

Rebase and we're good for a merge.

FYI, latest httpcore changed the raw response bits, which I solved in #77

@lundberg
Copy link
Owner

lundberg commented Oct 9, 2020

Closing this PR since it's outdated by #82 .

Add your Pattern regex typing to #81 instead @jocke-l .

@lundberg lundberg closed this Oct 9, 2020
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.

None yet

2 participants