Skip to content
This repository has been archived by the owner on Jan 23, 2024. It is now read-only.

IKnockoutContext.GetIndex() not supported in complex binding expressions #48

Open
shoftee opened this issue Sep 14, 2014 · 0 comments
Open

Comments

@shoftee
Copy link

shoftee commented Sep 14, 2014

The method KnockoutExpressionConverter.VisitMethodCall(MethodCallExpression) needs to check if the called method is IKnockoutContext.GetIndex(), compile it to a lambda, execute it to retrieve the index binding, and return it from the visitor method. This should allow complex binding expressions to support GetIndex().

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

No branches or pull requests

1 participant