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
This is a backend story that will support creation of a new (empty) HolonTypeDescriptor. For testing purposes, we will expose this API function as an extern function so that it is callable via the Holochain Conductor. However, we intend to wrap this function behind the Uniform API + adaptor, so it will likely never actually be directly invoked from the conductor.
Per the Metaspace Design Spec this capability requires implementing the following functions:
pub trait DescriptorBuilder { // a fluent interface for setting type header attributes
fn with_type_name(&self, type_name:String)->Self;
fn with_description(&self, description:String)->Self;
fn with_is_dependent(&self, is_dependent:bool)->Self;
}
pub trait HolonDescriptorBuilder: DescriptorBuilder {
fn create()->Box<&mut dyn HolonDescriptorBuilder>; // to create an empty builder
}
NOTES:
For this story... the HolonTypeDescriptor will have populated TypeHeader attributes (uuid, type_name, description, semantic_type, version, created_at, is_dependent) but not any properties, actions or relationships.
The builder.rs file in the ...coordinator-zomes/apis/type_desc_coord_api folder currently contains a mix of trait (API) definitions and implementation logic. The implementation logic should be moved to the /impls directory as part of this story.
The text was updated successfully, but these errors were encountered:
This is a backend story that will support creation of a new (empty) HolonTypeDescriptor. For testing purposes, we will expose this API function as an extern function so that it is callable via the Holochain Conductor. However, we intend to wrap this function behind the Uniform API + adaptor, so it will likely never actually be directly invoked from the conductor.
Per the Metaspace Design Spec this capability requires implementing the following functions:
NOTES:
HolonTypeDescriptor
will have populatedTypeHeader
attributes (uuid, type_name, description, semantic_type, version, created_at, is_dependent) but not any properties, actions or relationships.builder.rs
file in the ...coordinator-zomes/apis/type_desc_coord_api
folder currently contains a mix of trait (API) definitions and implementation logic. The implementation logic should be moved to the/impls
directory as part of this story.The text was updated successfully, but these errors were encountered: