Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code & Test API to Build HolonTypeDescriptor from Builder #30

Open
4 tasks
evomimic opened this issue Mar 14, 2023 · 0 comments
Open
4 tasks

Code & Test API to Build HolonTypeDescriptor from Builder #30

evomimic opened this issue Mar 14, 2023 · 0 comments

Comments

@evomimic
Copy link
Owner

This is a backend story that will provide an initial simple implementation of the HolonDescriptorBuilder's build API to create a new HolonDescriptor from a populated HolonDescriptorBuilder. It depends upon the HolonDescriptorBuilder populated via Issue #29. Once we add properties to the HolonDescriptorBuilder, the implementation of 'build' will get significantly more complicated. For the current story, we are just trying to get the basic end-to-end builder-to-descriptor call flow implemented.

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.

The design of this function follows the Prototype design pattern, with the builder object used as the prototype. The rules for populating the HolonDescriptor object are described in the Metaspace Design Spec

Definition of Done:

  • HolonDescriptorBuilder's 'build' API has been implemented
  • Sweetests demonstrate the correct behavior
  • a Pull Request for these changes has been approved
  • the feature branch for this issue has been deleted
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant