You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Introduce HolonWritable trait that defines the API that StagedReferences offer edit their underlying Holon (without exposing the Holon itself). Implementations for the trait functions already existing in StagedReference. They just need to be moved into a trait implementation block.
Rename HolonGettable trait to HolonReadable and extend it to include essential_content and is_accessible methods.
2. Problem Statement (Required)
Make it clearer which of the methods offered by StagedReference actually mutate a Holon's state and which don't.
Use consistent trait naming conventions
3. Dependencies (Required)
None
4. Proposed Solution (Required)
Define a HolonWritable trait in a new holon_writable.rs file within the holons src module
1. Summary (Required)
HolonWritable
trait that defines the API thatStagedReferences
offer edit their underlyingHolon
(without exposing the Holon itself). Implementations for the trait functions already existing inStagedReference
. They just need to be moved into a trait implementation block.HolonGettable
trait toHolonReadable
and extend it to includeessential_content
andis_accessible
methods.2. Problem Statement (Required)
StagedReference
actually mutate aHolon's
state and which don't.3. Dependencies (Required)
None
4. Proposed Solution (Required)
HolonWritable
trait in a newholon_writable.rs
file within theholons
src moduleHolonReadable
HolonReadable
:5. Scope and Impact (Required)
Reference Layer and consumers of the Reference Layer.
6. Testing Considerations (Required)
As this doesn't introduce any functional changes, no new test cases are required.
7. Definition of Done (Required)
The text was updated successfully, but these errors were encountered: