holochain / hdk-assemblyscript

The Holochain Developer Kit for Assemblyscript
41 stars 2 forks source link

build support for functions being assigned to specific capabilities #22

Open Connoropolous opened 5 years ago

Connoropolous commented 5 years ago

Willem had an idea for another decorator...

@capability('main') for example

This would then affect the autogen JSON manipulation we're doing, to generate the capabillities/zome JSON

willemolding commented 5 years ago

Its between that and @zome_function('capability_name'). Since every zome function needs to belong to a capability they are kind of the same. I think I prefer the @capability one