-
Notifications
You must be signed in to change notification settings - Fork 0
Release 0.21.0 #349
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
Release 0.21.0 #349
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
46534ac
feat: convenience base classes fixing TProgress=Report (#344, Part A)
Chris-Wolfgang d770fa7
Add Wolfgang.Etl.ErrorPolicies package (lockstep 0.21.0)
Chris-Wolfgang edbe7a5
Merge pull request #345 from Chris-Wolfgang/feat/344-convenience-base
Chris-Wolfgang a13cc1f
Merge vNext (#345 convenience bases) into feat/error-policies-package
Chris-Wolfgang 924059b
Add ErrorPolicy delegate property to the base stages
Chris-Wolfgang 3d506c0
Make full-channel dead-letter drops observable (#347)
Chris-Wolfgang 32dd65f
Merge pull request #347 from Chris-Wolfgang/feat/error-policies-package
Chris-Wolfgang 6ae134d
Release prep 0.21.0: promote CHANGELOG + PublicAPI
Chris-Wolfgang 7e34b02
Document ErrorPolicy as intentionally init-only (0.21.0)
Chris-Wolfgang File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| namespace Wolfgang.Etl.Abstractions; | ||
|
|
||
| /// <summary> | ||
| /// A convenience <see cref="ExtractorBase{TSource, TProgress}"/> that reports progress with the | ||
| /// built-in <see cref="Report"/> type and supplies a default <see cref="CreateProgressReport"/>, so a | ||
| /// derived extractor only has to implement <c>ExtractWorkerAsync</c>. Use this instead of the | ||
| /// two-type-parameter base when you don't need a custom progress-report type — it removes the | ||
| /// progress-record and <c>CreateProgressReport</c> boilerplate. Override | ||
| /// <see cref="CreateProgressReport"/> if you want to enrich the report (for example set a known total). | ||
| /// </summary> | ||
| /// <typeparam name="TSource">The type of the object being extracted.</typeparam> | ||
| public abstract class ExtractorBase<TSource> : ExtractorBase<TSource, Report> | ||
| where TSource : notnull | ||
| { | ||
| /// <summary> | ||
| /// Builds a <see cref="Report"/> snapshot from the current item count and timing. Override to add | ||
| /// more detail (for example a known <see cref="Report.TotalItemCount"/>). | ||
| /// </summary> | ||
| /// <returns>A <see cref="Report"/> for the current run.</returns> | ||
| protected override Report CreateProgressReport() => new(CurrentItemCount, StartedAt, Elapsed); | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| namespace Wolfgang.Etl.Abstractions; | ||
|
|
||
| /// <summary> | ||
| /// A convenience <see cref="LoaderBase{TDestination, TProgress}"/> that reports progress with the | ||
| /// built-in <see cref="Report"/> type and supplies a default <see cref="CreateProgressReport"/>, so a | ||
| /// derived loader only has to implement <c>LoadWorkerAsync</c>. Use this instead of the | ||
| /// two-type-parameter base when you don't need a custom progress-report type — it removes the | ||
| /// progress-record and <c>CreateProgressReport</c> boilerplate. Override | ||
| /// <see cref="CreateProgressReport"/> if you want to enrich the report (for example set a known total). | ||
| /// </summary> | ||
| /// <typeparam name="TDestination">The type of the object being loaded.</typeparam> | ||
| public abstract class LoaderBase<TDestination> : LoaderBase<TDestination, Report> | ||
| where TDestination : notnull | ||
| { | ||
| /// <summary> | ||
| /// Builds a <see cref="Report"/> snapshot from the current item count and timing. Override to add | ||
| /// more detail (for example a known <see cref="Report.TotalItemCount"/>). | ||
| /// </summary> | ||
| /// <returns>A <see cref="Report"/> for the current run.</returns> | ||
| protected override Report CreateProgressReport() => new(CurrentItemCount, StartedAt, Elapsed); | ||
| } |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.