Skip to content

Commit 0d8feaa

Browse files
authored
Make ShouldSkipPatch method virtual to allow overrides (#102)
1 parent 283a962 commit 0d8feaa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ChronoJsonDiffPatch/ChronoJsonDiffPatch/SkipPatchesWithUnmatchedListItems.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public SkipPatchesWithUnmatchedListItems(Func<TEntity, List<TListItem>?> listAcc
2121
/// <summary>
2222
/// <inheritdoc cref="ISkipCondition{TEntity}"/>
2323
/// </summary>
24-
public bool ShouldSkipPatch(TEntity initialEntity, TimeRangePatch failedPatch, Exception errorWhilePatching)
24+
public virtual bool ShouldSkipPatch(TEntity initialEntity, TimeRangePatch failedPatch, Exception errorWhilePatching)
2525
{
2626
if (errorWhilePatching is not ArgumentOutOfRangeException)
2727
{

0 commit comments

Comments
 (0)