I am trying to find out why the following line:
let emailQuotation: Expr<LoginView -> string> = <@ fun (v: LoginView) -> v.Email.Text @>
does not work with a compilation error, saying "Search for an object by an undefined type ...". The property ViewModel.Emailis Xamarin Forms Entry, which contains the property Text.
What other information does the compiler need and why cannot it interpret this expression?
source
share