h-REA / hREA

A ValueFlows / REA economic network coordination system implemented on Holochain and with supplied Javascript GraphQL libraries
https://docs.hrea.io
Other
142 stars 15 forks source link

Obviate need for custom capability storage structs in inter-cell RPC calls #360

Open pospi opened 1 year ago

pospi commented 1 year ago

hREA-specific tracking of https://github.com/holochain-open-dev/dna-auth-resolver/issues/2, which will likely resolve as being able to use built-in HDK methods to perform the capability storage and retrieval.

If it shakes out that way, we will no longer need to do a few awkward things:

Connoropolous commented 1 year ago

"meaning we can use the standard #[hdk_entry_defs] macro with a simple struct rather than implementing the entry_defs and __num_entry_types externs manually."

no, we still can't, because in some cases like economic_resource/storage we import resource_specification/storage, which would throw a conflict.

@freesig is working on a real fix, to do with rust-features or something