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

ensure truncation body filter is always last one #1608

Merged
merged 3 commits into from
Aug 11, 2023

Conversation

kasmarian
Copy link
Member

@kasmarian kasmarian commented Aug 9, 2023

Description

Adding a truncation filter as the last one in the list of BodyFilters before creating Logbook.
Also remove a separate class for truncation as it's not useless.

Motivation and Context

This PR is a follow-up from #1592 to ensure that truncation always happens at the end.
Kudos to @ado-dao for spotting.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.

@kasmarian kasmarian marked this pull request as ready for review August 9, 2023 11:29
@ChristianLohmann
Copy link
Member

lgtm

@msdousti
Copy link
Collaborator

👍

2 similar comments
@ado-dao
Copy link
Member

ado-dao commented Aug 11, 2023

👍

@kasmarian
Copy link
Member Author

👍

@kasmarian kasmarian merged commit eecc6d5 into main Aug 11, 2023
1 check passed
@kasmarian kasmarian deleted the ensure-truncation-is-last branch August 11, 2023 07:09
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.

4 participants