Skip to content
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
@vicb

Description

@vicb

See the discussion in #758. I'm creating the issue as the PR should be closed soon.

TL;DR:

  1. The current syntax is |filter:arg1:arg2 and comes from Django & Smarty,
  2. 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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions