scaffolding
scaffolding copied to clipboard
Running `hc scaffold collections` removes code comments
Running hc scaffold collections
deletes code comments from previously generated rust code in integrity zome
How to reproduce
- Scaffold web app, name it, select a template of your choice and set up holonix development environment. Cd into the project and run
nix develop
nix run github:/holochain/holochain#hc-scaffold -- web-app
- Scaffold a dna
hc scaffold dna
- Scaffold a zome
hc scaffold zome
- Scaffold an entry type
hc scaffold entry-type
- Commit changes via git to visualize deleted comments via git diff
git add .
git commit -m "Initial commit"
- Scaffold a collection
hc scaffold collection
- Observe diff, the integrity zome's code will show comments initially scaffolded in previous stages are now deleted. Specifically on the
validate_create_link_<name>_updates
function