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

Do not use temporary cache in Redmine\Api\...::list() methods #354

Merged

Conversation

Art4
Copy link
Collaborator

@Art4 Art4 commented Jan 3, 2024

This PR removes the change of the cache if using the list() methods and move it back in the all() (and listing()) methods for BC.

Fixes #353.

@Art4 Art4 added this to the v2.4.0 milestone Jan 3, 2024
@Art4 Art4 requested a review from kbsali January 3, 2024 15:18
@Art4 Art4 self-assigned this Jan 3, 2024
@Art4 Art4 linked an issue Jan 3, 2024 that may be closed by this pull request
@Art4 Art4 marked this pull request as ready for review January 3, 2024 15:19
Copy link

codecov bot commented Jan 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (c132efc) 96.58% compared to head (77e3adc) 96.57%.

Additional details and impacted files
@@             Coverage Diff              @@
##               v2.x     #354      +/-   ##
============================================
- Coverage     96.58%   96.57%   -0.01%     
  Complexity      492      492              
============================================
  Files            27       27              
  Lines          1376     1374       -2     
============================================
- Hits           1329     1327       -2     
  Misses           47       47              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Art4 Art4 merged commit 6f0a512 into v2.x Jan 4, 2024
17 checks passed
@Art4 Art4 deleted the 353-do-not-use-temporary-cache-in-redmineapilist-methods branch January 4, 2024 08:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Do not use temporary cache in Redmine\Api\...::list() methods
2 participants