Unlike other codecs, work via #386 did not add full checking for Avro: this because serialization side does not use fully incremental/streaming generation: instead value objects from Apache Avro library are constructed and their serialization methods called. It would be possible to add proper nesting level handling there, and should be done, when someone has time to dig into it.
This should not be super difficult and I can help if need be.
Unlike other codecs, work via #386 did not add full checking for Avro: this because serialization side does not use fully incremental/streaming generation: instead value objects from Apache Avro library are constructed and their serialization methods called. It would be possible to add proper nesting level handling there, and should be done, when someone has time to dig into it. This should not be super difficult and I can help if need be.