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

Practical docs for Zome Calls #469

Closed
mattyg opened this issue Oct 14, 2024 · 2 comments
Closed

Practical docs for Zome Calls #469

mattyg opened this issue Oct 14, 2024 · 2 comments
Assignees

Comments

@mattyg
Copy link
Member

mattyg commented Oct 14, 2024

Must include:

  • code examples
  • practical, terse explanation of how to use
  • gotchas

Potentially split into multiple pages

Topics to cover:

  • Zome functions and calls
    • #[hdk_extern]
    • single parameter
    • return value type
    • short-circuiting fallible functions with ?
    • Remote calls
    • Cross-zome/cell calls
    • Capabilities
    • Specially supported pattern: fire-and-forget remote signals
    • post_commit
      • infallible, read-only, but can call() another function
      • Warning against sending signals in a zome call unless you know what you're doing (writes may not succeed)
    • source chain head moved errors
@mattyg mattyg added this to Holochain Oct 14, 2024
@github-project-automation github-project-automation bot moved this to Backlog in Holochain Oct 14, 2024
@mattyg mattyg changed the title Practical docs for zome calls Practical docs for Zome Calls Oct 14, 2024
@pdaoust pdaoust self-assigned this Oct 22, 2024
@pdaoust pdaoust moved this from Backlog to Ready for refinement in Holochain Nov 19, 2024
@pdaoust pdaoust moved this from Ready for refinement to Backlog in Holochain Nov 19, 2024
@pdaoust
Copy link
Collaborator

pdaoust commented Nov 19, 2024

Broken up into #491, #492, and #493 (with the exception of signals, which I now think we should deal with in a separate article)

@pdaoust
Copy link
Collaborator

pdaoust commented Nov 19, 2024

Closing now that it's broken into story-sized chunks.

@pdaoust pdaoust closed this as completed Nov 19, 2024
@github-project-automation github-project-automation bot moved this from Backlog to Done in Holochain Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

2 participants