Skip to content

Commit 27faf1a

Browse files
committed
adding retry w lax check
1 parent 58b000e commit 27faf1a

File tree

1 file changed

+4
-0
lines changed
  • src/serializers/type_serializers

1 file changed

+4
-0
lines changed

src/serializers/type_serializers/union.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -359,6 +359,10 @@ impl TypeSerializer for TaggedUnionSerializer {
359359
fn get_name(&self) -> &str {
360360
&self.name
361361
}
362+
363+
fn retry_with_lax_check(&self) -> bool {
364+
self.choices.iter().any(CombinedSerializer::retry_with_lax_check)
365+
}
362366
}
363367

364368
impl TaggedUnionSerializer {

0 commit comments

Comments
 (0)