Details
-
Improvement
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
1.7.6
-
None
-
None
-
immutable
Description
Sometimes you want to pass your Avro bean around to various systems in your infrastructure and don't want anyone to alter the state of the bean.
Currently one can prevent changes to various field by preventing the generation of setter methods but for array and map fields one can still get the array/map and perform mutating operations (i.e. add new element to the list).