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

Improve PowerShell use case scenarios #103

Open
bchavez opened this issue Sep 1, 2016 · 0 comments
Open

Improve PowerShell use case scenarios #103

bchavez opened this issue Sep 1, 2016 · 0 comments

Comments

@bchavez
Copy link
Owner

bchavez commented Sep 1, 2016

Ryan Paul @ RethinkDB brought to light there are some issues with PowerShell + Lambdas (ReqlFunction*) type resolution. After some light debugging, I suspect this is a problem with Newtonsoft.Json not playing nice with the PowerShell type system.

Additionally, our [bracket] parameterized property overloads may have something to do with self-recursion exceptions.

Also, PowerShell lambdas seem to be some kind of Delegate type, but not a strong enough type to pass the ReqlFunction* checks in Func.FromLambda(Delegate) term. I got a few exceptions that read Arity of ReqlLambda not recognized!. Hmm.

Re: F#
DJS: "The biggest gotcha I've encountered so far is with .Filter. The implicit conversion from func to ReqlFunction1 doesn't happen, so it uses the obj overload, which doesn't work. I've got another repo (myWebLog) that has some examples using filter, indexes, etc."

/cc @segphault

🚗 🚙 _"Let the good times roll..."_

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