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

Feat: chain transformers, chain loaders, conditional loaders #19

Merged
merged 3 commits into from
Nov 8, 2023

Conversation

bpolaszek
Copy link
Owner

This PR adds the ability to chain multiple transformer and loaders, and introduced a ConditonalLoader interface you can implement to decide whether your loader supports the current item.

Copy link

codecov bot commented Nov 8, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (b9c345c) 100.00% compared to head (8dfde35) 100.00%.

Additional details and impacted files
@@             Coverage Diff             @@
##              master       #19   +/-   ##
===========================================
  Coverage     100.00%   100.00%           
- Complexity       200       218   +18     
===========================================
  Files             43        46    +3     
  Lines            618       651   +33     
===========================================
+ Hits             618       651   +33     
Files Coverage Δ
src/EtlConfiguration.php 100.00% <ø> (ø)
src/EtlExecutor.php 100.00% <100.00%> (ø)
src/Internal/ConditionalLoaderTrait.php 100.00% <100.00%> (ø)
src/Loader/ChainLoader.php 100.00% <100.00%> (ø)
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 d373ccd into master Nov 8, 2023
4 checks passed
@bpolaszek bpolaszek deleted the feature/chain branch November 8, 2023 14:00
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