-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation
Description
After the demonstration of Kuai MVP, we got 2 feedback about Model Pattern
at
kuai/packages/samples/mvp-dapp/src/actors/omnilock.model.ts
Lines 31 to 34 in 073becc
@ActorProvider({ ref: { name: 'omnilock', path: `/:args/` } }) | |
@LockPattern() | |
@DataPattern('0x') | |
@Omnilock() |
-
LockPattern
is a newborn word in Kuai, the termFilter
would be more acquainted in functional programming context. So what if renaming them intoLockFilter
, etc. -
LockPattern
should work with anotherdecorator
, e.g.@LockPattern() @DataPattern('0x') @Omnilock()
@LockPattern() @TypePattern() @Lock()
what if achieve the function with a single decorator like
@LockPattern('Omnilock')
@LockPattern({ codeHash, hashType })
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation
Type
Projects
Status
🏗 In progress