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

fix: cache fixes #3830

Merged
merged 2 commits into from
Nov 13, 2024
Merged

fix: cache fixes #3830

merged 2 commits into from
Nov 13, 2024

Conversation

ronag
Copy link
Member

@ronag ronag commented Nov 13, 2024

This relates to...

Rationale

Changes

Features

Bug Fixes

Breaking Changes and Deprecations

Status

@ronag
Copy link
Member Author

ronag commented Nov 13, 2024

@flakey5

@ronag ronag force-pushed the cache-fixes-4 branch 2 times, most recently from a6e60f1 to 2840fe7 Compare November 13, 2024 10:52
Copy link
Contributor

@Uzlopak Uzlopak left a comment

Choose a reason for hiding this comment

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

I love the direction this PR takes

response: CachedResponse
body?: Readable
}
type GetResult = CachedResponse & { body: null | Readable | Iterable<Buffer> | Buffer | Iterable<string> | string }
Copy link
Member

Choose a reason for hiding this comment

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

Could you add some more testing in the interceptor test file for each of the body types?

Copy link
Member Author

Choose a reason for hiding this comment

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

I'll change it back

Copy link
Member

@mcollina mcollina left a comment

Choose a reason for hiding this comment

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

lgtm

@ronag ronag merged commit 28b10fa into main Nov 13, 2024
40 of 42 checks passed
flakey5 pushed a commit to flakey5/undici that referenced this pull request Nov 14, 2024
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.

4 participants