Skip to content

Added support to configure cache options with services from DI. - #606

Closed
vrbyjimmy wants to merge 9 commits into
ZiggyCreatures:mainfrom
vrbyjimmy:main
Closed

vrbyjimmy wants to merge 9 commits into
ZiggyCreatures:mainfrom
vrbyjimmy:main

Conversation

@vrbyjimmy

Copy link
Copy Markdown
Contributor

Added support to configure cache options with services from DI. Closes #605

@vrbyjimmy

Copy link
Copy Markdown
Contributor Author

Hi @jodydonetti, just wanna ask what you think of this feature. Any chance it gets pulled to some future release? Or do you have other plans for supporting/not supporting FusionCache options with other services already resolved by IServiceProvider?

@jodydonetti jodydonetti self-assigned this Jul 27, 2026
@jodydonetti jodydonetti added the enhancement New feature or request label Jul 27, 2026
@jodydonetti jodydonetti added this to the v2.6.1 milestone Jul 27, 2026
@jodydonetti

Copy link
Copy Markdown
Collaborator

Hi @vrbyjimmy , yes I like the idea and I'm ok adding it to FusionCache.
Will try to include it in the next version, which will be out very soon.
Thanks!

@jodydonetti jodydonetti modified the milestones: v2.7.0, v2.8.0 Aug 19, 2026
@jodydonetti

Copy link
Copy Markdown
Collaborator

Hi @vrbyjimmy , I've found a way to make this work without breaking backward compatibility.
I will still mention you as the contributor, because I started from your PR as an inspiration.
Will update with the next version, thank you!

@jodydonetti

Copy link
Copy Markdown
Collaborator

Hi all, I just released v2.8.0 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE] Add WithOptions overload that supports resolving services via IServiceProvider

2 participants