Property MaxDepth
MaxDepth
Gets the deepest nesting of records allowed while writing one value, at least 1. A deeper value, including a record that contains itself, is rejected with AvroException instead of overflowing the stack. The default is DefaultMaxDepth.
public int MaxDepth { get; init; }