Open maritz opened 3 years ago
Currently .id is a readable and writable property. This has lead to confusion and problems before.
The better way to deal with it is probably to make .id completely internal and only allow access via a getter.
Additional documentation is then required to describe how to have your own "secondary" id mechanism.
Currently .id is a readable and writable property. This has lead to confusion and problems before.
The better way to deal with it is probably to make .id completely internal and only allow access via a getter.
Additional documentation is then required to describe how to have your own "secondary" id mechanism.