axelheer / nein-linq

NeinLinq provides helpful extensions for using LINQ providers such as Entity Framework that support only a minor subset of .NET functions, reusing functions, rewriting queries, even making them null-safe, and building dynamic queries using translatable predicates and selectors.
MIT License
521 stars 22 forks source link

Q: would this work with source generators? #36

Closed bzbetty closed 2 years ago

bzbetty commented 2 years ago

Wondering about the idea of using some source generators (https://github.com/dotnet/roslyn/blob/main/docs/features/source-generators.cookbook.md) to generate some of the boiler plate when using this library.

Currently thinking generating the empty method signatures based on classes with expressions in them.

Have you tried this before or see any gotchas?

axelheer commented 2 years ago

Yeah, that would be nice. I don't know, when I'll have the time to look into that.

Are you interested into doing this?

bzbetty commented 2 years ago

I would have but ended up bumping into another similar library (EntityFrameworkCore.Projectables) which seems to support the feature set I wanted.

Thanks for you library and all your work though.