liquid
liquid copied to clipboard
Cannot pass argument to struct method
Expected Behavior
{{ 'email' | errors.Get }}
Actual Behavior
syntax error in \"'email' | errors.Get\"
Detailed Description
I have an errors struct with a Get(string) []string method which I would like to use directly in the template. But I can't manage to pass an argument to that method.
Other methods without an argument work (e.g. Key() []string).