The purpose was to store information on field (attribute) directly, instead of push the metadata into type of field, which is not ergonomic and carries different semantic meaning.
To make the change backward compatible: instead of adding a parameter in the data class construct, we come up with a secondary constructor and override the equals and hash code function. We also introduced a function called copyWithMeta() to mimic the data class copy behavior.
Other Information
Updated Unreleased Section in CHANGELOG: [YES/NO]
Yes.
Any backward-incompatible changes? [YES/NO]
No
Any new external dependencies? [YES/NO]
< If YES, which ones and why? >
< In addition, please also mention any other alternatives you've considered and the reason they've been discarded >
Relevant Issues
Description
Other Information
Updated Unreleased Section in CHANGELOG: [YES/NO]
Any backward-incompatible changes? [YES/NO]
Any new external dependencies? [YES/NO]
No
Do your changes comply with the Contributing Guidelines and Code Style Guidelines? [YES/NO] Yes.
License Information
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.