Skip to content

Use cache in _fetch_reference_injections() #897

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 1 commit into from
May 31, 2025
Merged

Use cache in _fetch_reference_injections() #897

merged 1 commit into from
May 31, 2025

Conversation

ZipFile
Copy link
Contributor

@ZipFile ZipFile commented May 31, 2025

Evolution of the idea from PR #880, but slightly more controllable in terms of cache management. Unlike #880, cache is discarded by default after each wire(), but for multi-container use cases there is a flag to preserve cache + helper function to manually clear it.

@coveralls
Copy link

Coverage Status

coverage: 94.598% (-0.07%) from 94.663%
when pulling 4b3476c on cache-wire
into 8460465 on master.

@ZipFile ZipFile changed the base branch from master to develop May 31, 2025 12:37
@ZipFile ZipFile merged commit 4b3476c into develop May 31, 2025
26 checks passed
@ZipFile ZipFile deleted the cache-wire branch May 31, 2025 12:43
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants