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

Simplify usage of Lock decorator #463

Open
Keith-CY opened this issue Sep 7, 2023 · 0 comments
Open

Simplify usage of Lock decorator #463

Keith-CY opened this issue Sep 7, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@Keith-CY
Copy link
Member

Keith-CY commented Sep 7, 2023

This issue comes from feedback from a user


Now Omnilock pattern decorator should work with LockPattern decorator. It can be simplified by passing omnilock into LockPattern.

@ActorProvider({ ref: { name: 'omnilock', path: `/:args/` } })
@LockPattern()
@DataPattern('0x')
@Omnilock()
@Keith-CY Keith-CY added the enhancement New feature or request label Sep 7, 2023
@Keith-CY Keith-CY self-assigned this Sep 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: 🔖 Ready
Development

No branches or pull requests

1 participant