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

Access params in operations using accessors instead of the 'params' object. #421

Open
mpantel opened this issue Oct 17, 2021 · 0 comments
Open

Comments

@mpantel
Copy link
Contributor

mpantel commented Oct 17, 2021

Setting param_accessor_style :accessors for Hyperstack components enables accessing component parameters directly
without the need to prepend the 'params' object.
This isn't supported for operations and it would be a great syntactic sugar, if you could also access operations' parameters using an accessor of the same name.
This call convention will also align the use of params across components and operations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant