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

Consider supporting auto-quotations in transaction arguments #26

Open
eiriktsarpalis opened this issue May 7, 2020 · 0 comments
Open

Comments

@eiriktsarpalis
Copy link
Member

Since F# 4.0 it has been possible to do C# LINQ style automatic convertion of function arguments into quoted expression trees. In the case of FSharp.AWS.DynamoDB this means that an update expression can be written as follows:

table.UpdateItem(key, fun e -> { e with Value = e.Value + 1L })

without having to quote the lambda argument. It's a nice enhancement without introducing any breaking changes.

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

No branches or pull requests

1 participant