This repository was archived by the owner on Feb 22, 2018. It is now read-only.
This repository was archived by the owner on Feb 22, 2018. It is now read-only.
[Q] Should with support the filter syntax |filter(arg1, arg2)
#772
Closed
Description
See the discussion in #758. I'm creating the issue as the PR should be closed soon.
TL;DR:
- The current syntax is
|filter:arg1:arg2
and comes from Django & Smarty, - The proposed syntax
|filter(arg1, arg2)
comes from Jinja & Twig
The proposed syntax should allow for named arguments as well.
If we go for the second syntax and support named arguments, the current syntax should probably be dropped.
Thoughts ?
Metadata
Metadata
Assignees
Labels
No labels