oryx icon indicating copy to clipboard operation
oryx copied to clipboard

Improve dependency handling

Open thompson-tomo opened this issue 1 year ago • 2 comments

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 when targeting net 6.

Describe alternatives you've considered Accept the additional dependency

Additional context n/a

thompson-tomo avatar Apr 13 '24 12:04 thompson-tomo

I'm not sure I understand. The package do not have an explicit depencency on System.Text.Json:

image

dbrattli avatar Apr 19 '24 12:04 dbrattli

Ok, I think I understand this. You want the Oryx.SystemTextJson to be built for net6 (and probably net8) without the direct dependency on System.Text.Json? Not sure how we can make it a conditional dependency based on framework.

dbrattli avatar Apr 22 '24 14:04 dbrattli