-
Notifications
You must be signed in to change notification settings - Fork 75
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
Mustache lambdas emiting any object including components (extended #951) #955
Conversation
90c381e
to
552f6b9
Compare
Hey! looks good, i'll try to play with it soon. One of my "inspirations" for this kind of code was from kibana (elastic). They extended mustache with helper functions such as: {{#join}} for joining strings with a How does the current state of this handle an input of an array? For example doing |
The main problem is that Mustache.js generates strings so I see much better idea in Mustache.js pull-requests: Pipeline operator and that's something we can easily implement ourselves by extending lookup function in MustacheContext. It would be also nice to keep a common interface, so string processing functions can use both section and pipeline syntax. |
552f6b9
to
0bd2f3d
Compare
Superseded by #1021 |
Your checklist for this pull request
Extended and fixed version of #951
Plugin code used for tests