This post explores the concept of immutability in Ballerina, specifically focusing on immutable mapping fields, using records with immutable fields in tables, and creating immutable fields via the mapping constructor. It also discusses typing with immutable mapping fields and the difference between immutable fields and fields
•10m read time• From medium.com
Table of contents
Immutability in Ballerina — Part IIImmutable mapping fieldsFinal object fieldsImmutable classesSort: