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

New: Add pipe syntax support for function calls like in Jinja2, resolves #294 #296

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

navrocky
Copy link
Contributor

@navrocky navrocky commented Feb 9, 2025

Functions can now be chained together using the pipe syntax:

This syntax:

{{ ["B", "A", "C"] | sort | join(",") }}

equals to:

{{ join(sort(["B", "A", "C"]), ",") }}

@navrocky navrocky changed the title Add pipe syntax support for function calls like in Jinja2, resolves #294 New: Add pipe syntax support for function calls like in Jinja2, resolves #294 Feb 9, 2025
@navrocky navrocky force-pushed the feature/pipe-syntax branch from cd02121 to c7b2080 Compare February 9, 2025 22:09
@navrocky navrocky force-pushed the feature/pipe-syntax branch from c7b2080 to 760dd51 Compare February 9, 2025 22:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant