Open pospi opened 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
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:
#[hdk_entry_defs]
macro with a simple struct rather than implementing theentry_defs
and__num_entry_types
externs manually.hdk_semantic_indexes
library as per https://github.com/h-REA/hREA/pull/340/commits/b4756be418a0e8ff57abb33f62e892f51c8036a8, since no custom storage for capabilities will need to be passed through thehdk_records
RPC helpers.