Closed qubist closed 5 years ago
I need some guidance here on the Holochain side: How do I have a parameter in the function that can be 'None' or an address of a parent goal? And how can I call create_edge
from inside another zome function?
I think you can just call create_edge like a normal call from one rust function to another :)
And parent_address param can be Option
Oo, @qubist ... refactor the core logic from create_edge into its own function that's not a some function, and make it be called from create_edge and create_goal
Next step: edit things in the reducers to understand the new struct that createGoal returns.
This PR should close #23 when it's finished