Skip to content

Commit 916f9f6

Browse files
committed
BulkObservable should look at item.IsValid not response.IsValid
This also feeds the failing documents through the callback whether we continue afterwards or not (cherry picked from commit f7e3262)
1 parent 418b214 commit 916f9f6

File tree

4 files changed

+215
-212
lines changed

4 files changed

+215
-212
lines changed

src/Nest/Document/Multiple/Bulk/BulkResponseItem/BulkResponseItemBase.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ public bool IsValid
129129
}
130130
}
131131

132-
public override string ToString() => $"{Operation} returned {Status} _index: {Index} _type: {Type} _id: {Id} _version: {Version} error: {Error}";
132+
public override string ToString() =>
133+
$"{Operation} returned {Status} _index: {Index} _type: {Type} _id: {Id} _version: {Version} error: {Error}";
133134
}
134135
}

0 commit comments

Comments
 (0)