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

[Concepts -> Source Chains] Some zome fns seem to not work #42

Open
jost-s opened this issue Jul 4, 2021 · 3 comments
Open

[Concepts -> Source Chains] Some zome fns seem to not work #42

jost-s opened this issue Jul 4, 2021 · 3 comments

Comments

@jost-s
Copy link
Contributor

jost-s commented Jul 4, 2021

In the playground of the Source Chains chapter there are 3 tabs with zome fns.

  • On "Demo_Entries" the only two that have an effect for me are "create_entry" and "delete_entry". For the other ones nothing happens when I enter a hash of an entry and click "Execute".
  • On "Demo_Links" the function "get_links" has no effect either

Am I using these functions wrong? Or what should happen when I execute "get" or "get_details" for example?

@guillemcordoba
Copy link
Contributor

Oh right... I think we are missing the results panel here. The reason they do nothing is 1) because they are a readonly query (get, query, get_links) and as such they don't modify the source-chain, or 2) that it's not clear what the input should be (entryhash vs headerhash, etc.).

Basically you need feedback of the result of executing the function, which exists in other pages, it's just a matter of including it here.

Thanks :)

@jost-s
Copy link
Contributor Author

jost-s commented Jul 6, 2021

Yes, I agree, I was expecting to see the results of a get function somewhere. The input was clear to me.

@guillemcordoba
Copy link
Contributor

Cool cool

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

2 participants