-
Notifications
You must be signed in to change notification settings - Fork 56
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
Chaining function result ends in error #139
Comments
@paganotoni sounds good. Thanks for creating the issue. I will probably get it done sometime next week. |
Awesome. No rush on this. Appreciate all the great work you're putting into plush. |
@paganotoni, Sorry, I've been swamped lately. However, I will try to get it done before the end of the month. |
Hey! don't worry about that. I appreciate your effort with all these issues and understand you take your time. Thanks for all your dedication. |
Can this feature be used? today I try to use the buffalo engine in new project and I have many years of experience in using the gin engine with golang native html.template buffalo looks great. everything is going well. but this will increase a lot code of template , if there is no support cascading object call function. every range level need define a new temp variable ,then call the it's function. This makes plush meaningless. |
@temuera At the moment I use variables as a workaround.
|
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment. Otherwise, this will be closed in 7 days. |
Hello Antonio, It's been a long time. I know I promised to get this done in 2021, so I apologize for going dark on this for 3 years now. I sent a PR #181 and added different test cases. Please let me know if you think a test case is missing. I also fixed a bug in which plush didn't return an error when an undefined function was called on an object. |
Hey @Mido-sys! Thanks a lot! |
Similar to the arrays issue when trying to call a member of the result of a function call plush errors.
Code:
Error:
It would be good to support this.
cc @Mido-sys
The text was updated successfully, but these errors were encountered: