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

Fix: Chain transformers using generators in the middle #25

Merged
merged 1 commit into from
Nov 10, 2023

Conversation

bpolaszek
Copy link
Owner

Fixed a bug where chained transformers would yield an array of items at the very end instead of a single value.

Copy link

codecov bot commented Nov 10, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (954c2fa) 100.00% compared to head (7ea2b1d) 100.00%.

Additional details and impacted files
@@             Coverage Diff             @@
##              master       #25   +/-   ##
===========================================
  Coverage     100.00%   100.00%           
- Complexity       227       229    +2     
===========================================
  Files             47        47           
  Lines            677       681    +4     
===========================================
+ Hits             677       681    +4     
Files Coverage Δ
src/Transformer/ChainTransformer.php 100.00% <100.00%> (ø)

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

@bpolaszek bpolaszek merged commit 643db21 into master Nov 10, 2023
@bpolaszek bpolaszek deleted the fix/chain-transformers branch November 10, 2023 11:22
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