Skip to content
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

This is awesome. Only for arrays/in-memory collections? #1

Open
smarts opened this issue May 22, 2018 · 0 comments
Open

This is awesome. Only for arrays/in-memory collections? #1

smarts opened this issue May 22, 2018 · 0 comments

Comments

@smarts
Copy link

smarts commented May 22, 2018

This library is not quite fulfilling the full promise of LINQ. LINQ supports in-memory collections as well as query providers via expressions.

In the case of the methods that operate on in-memory collections, that is, those methods that extend IEnumerable, the returned enumerable object captures the arguments that were passed to the method. When that object is enumerated, the logic of the query operator is employed and the query results are returned.
In contrast, methods that extend IQueryable do not implement any querying behavior, but build an expression tree that represents the query to be performed. The query processing is handled by the source IQueryable object.

Hopefully that didn't come off sounding like an insult, because I think this library is extremely 🆒 ! I'm curious if there is planned work or an interest to port support for query provider(s)? It's a huge undertaking, but since Microsoft open-sourced EntityFramework 6 & Core (which uses re-linq) and there's a JavaScript parser (i.e., expression generator) written in JavaScript, it's definitely possible…

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant