Skip to content

Conversation

@henriquemoody
Copy link
Member

Positioning FormatterModifier later in the chain allows TransModifier and ListModifier to handle their specific pipes first. Since FormatterModifier attempts to create a formatter for any pipe it encounters, this change avoids unnecessary formatter creation attempts for known modifiers like |trans and |list, improving performance.

Assisted-by: OpenCode (GLM-4.7)

Positioning FormatterModifier later in the chain allows TransModifier and
ListModifier to handle their specific pipes first. Since FormatterModifier
attempts to create a formatter for any pipe it encounters, this change
avoids unnecessary formatter creation attempts for known modifiers like
`|trans` and `|list`, improving performance.

Assisted-by: OpenCode (GLM-4.7)
@codecov-commenter
Copy link

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.54%. Comparing base (113499a) to head (ad98587).

Additional details and impacted files
@@            Coverage Diff            @@
##               main      #20   +/-   ##
=========================================
  Coverage     99.54%   99.54%           
  Complexity      199      199           
=========================================
  Files            29       29           
  Lines           444      444           
=========================================
  Hits            442      442           
  Misses            2        2           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@henriquemoody henriquemoody merged commit ed3f6a2 into Respect:main Feb 10, 2026
4 checks passed
@henriquemoody henriquemoody deleted the modifier_order branch February 10, 2026 07:06
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.

2 participants