byme8 / ZeroQL

C# GraphQL client with Linq-like syntax
MIT License
278 stars 13 forks source link

Add .netstandard 2.1 compatibility #46

Closed JuanuMusic closed 1 year ago

JuanuMusic commented 1 year ago

Is your feature request related to a problem? Please describe. I need to be able to use this under Unity. From what I've seen the best way to do it is by supportiong .netstandard 2.1 which has all the APIs

Describe the solution you'd like Implement .netstandard 2.1 as a target framework

Additional context I have started with this work. I will be posting the branch or possible PRs to tackle this if accepted.

byme8 commented 1 year ago

I have been thinking about it, and it would be tricky to do.

At the moment, ZeroQL relies on module initializers, records, CallerArgumentExpression. Officialy they are available starting from .Net6+. There are ways to tinker with, but it may not work at all.

JuanuMusic commented 1 year ago

I'm actually dealing with those issues. Ill post a PR when stuff is working and we can keep the discussion from that!