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

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

Open
pospi opened this issue Aug 15, 2022 · 1 comment
Open
Labels
enhancement New feature or request

Comments

@pospi
Copy link
Member

pospi commented Aug 15, 2022

hREA-specific tracking of holochain-open-dev/dna-auth-resolver#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:

  • inheriting from the DNA Auth Resolver integrity zome along with type-specific integrity zomes will no longer be necessary, 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.
  • we will no longer need to genericise method parameters within the hdk_semantic_indexes library as per b4756be, since no custom storage for capabilities will need to be passed through the hdk_records RPC helpers.
@pospi pospi added the enhancement New feature or request label Aug 15, 2022
@pospi pospi added this to the Holochain core stabilising milestone Aug 15, 2022
@Connoropolous
Copy link
Contributor

"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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants