-
Notifications
You must be signed in to change notification settings - Fork 120
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
[FEATURE] Optimise dependencies by adding TFM #230
Comments
Hi @thompson-tomo , sorry I don't understand what you are asking. Which package are you talking about? The main FusionCache package does not have a dependency on System.Text.Json, and the package that act as an adapter for that serializer must have a dependency on it, otherwise it would not work. Can you be clearer please? |
@jodydonetti to make it clearer i have simply submitted a PR for the changes #231 |
Thanks @thompson-tomo , will look into it and let you know. |
* #230 add in TFM's so dependencies can be optimised * Better incoherent fail-safe max duration logic * Even better incoherent fail-safe max duration handling logic (less allocation in happy path) --------- Co-authored-by: Jody Donetti <indastria@gmail.com>
To make it easier i have just suppressed the build warnings via #233 |
Why .NET Core 3.1 @thompson-tomo? It's out of support and full of vulnerabilities. No need to mention API changes that could be problematic. I think you shouldn't support it @jodydonetti? |
I am aware of net core 3.1 is out of support but some users still utilise it & that is the earliest framework which can provide the necessary library as part of the framework. If a user is developing for net 6 then they will get v6 of STJ. |
Hi all, I think I need a little bit more time to get to the bottom of this, consider all the angles and the best approach all around. I'll release the next version and then I'll come back to this. Will update. |
Note from my side I have no problem bumping it net 6 or potentially adding it as an additional TFM. |
Co-authored-by: Jody Donetti <indastria@gmail.com>
Hi all, v1.3.0 is out 🥳 |
Is your feature request related to a problem? Please describe.
I want to minimise dependencies in my project by utilising framework dependencies wherever possible
Describe the solution you'd like
I want the package to not have an explicit dependency on System.Text.Json as it can be provided by the framework. At the same time other dependencies can be optimised when an additional TFM is added.
Describe alternatives you've considered
Accept the additional dependency
Additional context
No response
The text was updated successfully, but these errors were encountered: