If we provide the ability for an entity to manage its own metadata
To the engineers
Then they will be able to augment an instantiated object with further data attributes without having to redefine the class
To validate this we will:
[x] - Demonstrate that a struct can be modified to add the necessary attributes dynamically
[x] - Demonstrate that a struct can be modified to add the metadata attribute optionally
[x] - Demonstrate that a impl new() can be modified to set the necessary attribute values without overwriting any existing core attributes
[x] - Demonstrate that a impl new() can be modified to set the metadata attribute value if the attribute exists in the struct
If we provide the ability for an entity to manage its own metadata To the engineers Then they will be able to augment an instantiated object with further data attributes without having to redefine the class To validate this we will:
new()
can be modified to set the necessary attribute values without overwriting any existing core attributesnew()
can be modified to set the metadata attribute value if the attribute exists in thestruct