fsprojects / FSharp.Linq.ComposableQuery

Compositional Query Framework for F# Queries, based on "A Practical Theory of Language-Integrated Query"
http://fsprojects.github.io/FSharp.Linq.ComposableQuery/
MIT License
67 stars 13 forks source link

Expr terms missing. #5

Open ixtreon opened 10 years ago

ixtreon commented 10 years ago

There are a number of terms which are valid input to the default QueryBuilder but not to the FSharpComposableQuery builder. This happens since not all valid literals of type FSharpExpr have their equivalent as Exp.

Such terms include:

These two can be reproduced by changing the final yield d.dpt statement in the expertise query in the Nested.fs file to yield (new Department(Dpt=d.dpt)) after implementing the changes in commit b7c5bce1aab310c472a5b7209710644692494c13