-
-
Notifications
You must be signed in to change notification settings - Fork 139
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
Chained else expression #12
Comments
(refactor) middleware.rs
Is there any workaround currently? I'd like to use this, but unfortunately I'm currently too busy to contribute. |
Oops the obvious workaround works. I had an unrelated syntax error because of a typo, which made me think that nesting wouldn't work.
|
Yes. To support chained else, we may need an update in current parser and helper definition because |
Hey @sunng87, any progress on this issue? |
@rousan sorry, there is no progress for now. |
so, is there any way to add some patches like adding a block helper? It would very helpful then. |
@rousan the helper system is totally open. You can register you own block/inline helpers with our API. Checkout examples if you like. For this chained else, some work needs to be done on the parser and our template structure to support chained inverse template segment. I will probably add support in future releases. |
Anxiously waiting for this feature! |
@shujaatak Unfortunately there is no progress for this feature. Contributions are welcomed for this. |
Any updates? |
Fixed in #629 |
https://crates.io/crates/handlebars version not change? |
Released in 5.1.0 |
Support syntax
handlebars-lang/handlebars.js#892
The text was updated successfully, but these errors were encountered: