Skip to content
This repository was archived by the owner on Mar 11, 2025. It is now read-only.

Add support for filter chaining in filter blocks #984

Merged
merged 4 commits into from
Mar 11, 2024

Conversation

GuillaumeGomez
Copy link
Collaborator

Follow-up of #959.

It allows to chain filters on filter blocks, making the feature much more useful. :)

With this, the feature will be complete.

@GuillaumeGomez
Copy link
Collaborator Author

Applied suggestions.

@GuillaumeGomez
Copy link
Collaborator Author

Created a new Filter type in its own commit. It required to update a lot of tests, forcing me to remove the use Expr::* because of name conflict, it's mostly because of cases like this that I'm not a big fan matching on just variant names. 😉

@GuillaumeGomez
Copy link
Collaborator Author

Fixed the commit mess. :)

@GuillaumeGomez
Copy link
Collaborator Author

Renamed and added documentation.

@GuillaumeGomez GuillaumeGomez merged commit 3026829 into askama-rs:main Mar 11, 2024
16 checks passed
@GuillaumeGomez GuillaumeGomez deleted the filter-doc-chaining branch March 11, 2024 13:25
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants