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 3 times, most recently from 760dd51 to 8b02019 Compare February 13, 2025 19:52
@navrocky navrocky force-pushed the feature/pipe-syntax branch from 8b02019 to 18c7a49 Compare February 13, 2025 19:55
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