Skip to content

fix(engine): delegate customDiffPatch.summary() to inner patch's Summary()#41

Merged
brunoga merged 1 commit intomainfrom
fix/custom-diff-patch-summary
Mar 25, 2026
Merged

fix(engine): delegate customDiffPatch.summary() to inner patch's Summary()#41
brunoga merged 1 commit intomainfrom
fix/custom-diff-patch-summary

Conversation

@brunoga
Copy link
Copy Markdown
Owner

@brunoga brunoga commented Mar 25, 2026

Previously the method returned a hardcoded "CustomPatch" string. It now performs a type assertion against a local summarizer interface and calls Summary() on the inner patch when available, falling back to "CustomPatch" otherwise. Adds tests for both branches.

…ary()

Previously the method returned a hardcoded "CustomPatch" string. It now
performs a type assertion against a local summarizer interface and calls
Summary() on the inner patch when available, falling back to "CustomPatch"
otherwise. Adds tests for both branches.
@brunoga brunoga merged commit d693764 into main Mar 25, 2026
1 check passed
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