kuitos / axios-extensions

🍱 axios extensions lib, including throttle, cache, retry features etc...
MIT License
831 stars 49 forks source link

add cacheKeyGenerator option #97

Open shrpne opened 1 year ago

shrpne commented 1 year ago

copilot:all

Hello! I have added cacheKeyGenerator as described in #57

It also can be used as a workaround for these issues #66 #68

Please provide your feedback, maybe i should update naming, or maybe provide the same option to config too

shrpne commented 1 year ago

@kuitos friendly reminder

shrpne commented 1 year ago

Rebased from master

codecov[bot] commented 1 year ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 97.43%. Comparing base (f4da8f3) to head (940af6f). Report is 1 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #97 +/- ## ========================================== + Coverage 97.36% 97.43% +0.06% ========================================== Files 5 5 Lines 76 78 +2 Branches 21 23 +2 ========================================== + Hits 74 76 +2 Partials 2 2 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.