Can we allow mustache in all motion files? We would need a configuration file in the motions directory (maybe mustache.json) which would hold the data structure and a path to a partials directory. This would be really helpful, especially with super complicated and repetitive SQL.
Mustache would only be enabled in motion directories containing a mustache configuration file.
The mustache.json file doesn‘t have to be JSON (although I think I would prefer it is). It could be TOML or YML as well. My second choice would be YML.
This is the second feature request:
Can we allow mustache in all motion files? We would need a configuration file in the motions directory (maybe
mustache.json
) which would hold the data structure and a path to a partials directory. This would be really helpful, especially with super complicated and repetitive SQL.Mustache would only be enabled in motion directories containing a mustache configuration file.
Here is the mustache crate.