-
Notifications
You must be signed in to change notification settings - Fork 86
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
No applicable member has been found for the expression. #163
Comments
Hello @inseokjoo, Do you think you could create a runnable project that reproduces the issue? It will surely help us to work faster on a resolution instead of trying to reproduce it. You can send it in private here if you need: [email protected] As for the error message, we will see what we can do/answer when we are able to reproduce it. Best Regards, Jon |
Hello, @JonathanMagnan I attempted to send a reproducible project demonstrating the issue via email, but sending it through email was unsuccessful. Instead, I’ve attached it through the following link: https://drive.google.com/file/d/1wJ5_7So7bFcA-U5B0BkaUTdFfqC_7182/view?usp=sharing This project reproduces the same error, and I am hoping for a quick resolution. I would appreciate it if you could provide guidance on interpreting this exception message (Exception.Message) as mentioned in the main description. Any pointers for understanding and troubleshooting similar exceptions would be invaluable for helping me continue using this library more efficiently. Thank you in advance for your assistance. Best regards, |
Thank you for the project, my developer will look at it. |
Hello @inseokjoo , Sorry for the long wait. My developer told me you were missing to register some type: EvalManager.DefaultContext.RegisterType(typeof(DayOfWeek));
EvalManager.DefaultContext.RegisterType(typeof(CalendarWeekRule)); We usually recommend explicitly adding your type, but you can also add most of them automatically with the following options: AutoAddMissingTypes Let me know if everything is working. Best Regards, Jon |
Hello, I’m a developer who frequently uses z.Eval and generally finds it very useful. However, I’m unable to resolve an error, so I’m posting this issue here in hopes of getting some guidance.
Here is the error message I encountered:
Z.Expressions.Compiler.Shared.EvalException: Oops! No applicable member has been found for the expression. The error occurred for expression "." at position 3 near ".Where(x => x.IssuedDate.".
My code is as follows:
Is there something I might be missing or have overlooked here?
Additionally, I find the exceptionMessage analysis particularly challenging. Could you provide some guidance on how to better interpret or debug these exceptions? I’d like to continue using this library efficiently.
Thank you in advance for your help!
The text was updated successfully, but these errors were encountered: