Skip to content

Add an item writer that will only write items satisfying a condition #62

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

Merged
merged 2 commits into from
May 31, 2022

Conversation

yann-eugone
Copy link
Contributor

@yann-eugone yann-eugone commented May 18, 2022

Alone, this component might not be useful (because you can skip any item within the process).
But combined to any other writer (for instance the ChainWriter), it will unlock some possibilities.

@codecov
Copy link

codecov bot commented May 18, 2022

Codecov Report

Merging #62 (431facd) into 0.x (69b3cf6) will not change coverage.
The diff coverage is 100.00%.

@@             Coverage Diff             @@
##                 0.x       #62   +/-   ##
===========================================
  Coverage     100.00%   100.00%           
- Complexity       724       733    +9     
===========================================
  Files            124       125    +1     
  Lines           1846      1864   +18     
===========================================
+ Hits            1846      1864   +18     
Impacted Files Coverage Δ
...rc/batch/src/Job/Item/Writer/ConditionalWriter.php 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 69b3cf6...431facd. Read the comment docs.

@yann-eugone yann-eugone requested review from halundraN and J-Ben87 May 18, 2022 07:43
@yann-eugone yann-eugone merged commit 45b0799 into 0.x May 31, 2022
@yann-eugone yann-eugone deleted the conditional-writer branch June 18, 2022 08:45
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