Skip to content

Commit

Permalink
add mention of scaffolding tool
Browse files Browse the repository at this point in the history
  • Loading branch information
pdaoust committed Mar 29, 2024
1 parent 34fb8e1 commit 9943d49
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/pages/build/guide/entries.md
Original file line number Diff line number Diff line change
Expand Up @@ -395,6 +395,10 @@ match maybe_details {
}
```

## Scaffolding an entry type and CRUD API

The Holochain dev tool command `hc scaffold entry-type <entry_type>` generates the code for a simple entry type and a CRUD API. It presents an interface that lets you define a struct and its fields, then asks you to choose whether to implement update and delete functions for it along with the default create and read functions.

## Community CRUD libraries

If the scaffolder doesn't support your desired functionality, or is too low-level, there are some community-maintained libraries that offer opinionated and high-level ways to work with entries. Some of them also offer permissions management.
Expand Down

0 comments on commit 9943d49

Please sign in to comment.