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

Split model IBinding into IGetter and ISetter #318

Closed
remkop opened this issue Apr 1, 2018 · 0 comments
Closed

Split model IBinding into IGetter and ISetter #318

remkop opened this issue Apr 1, 2018 · 0 comments

Comments

@remkop
Copy link
Owner

remkop commented Apr 1, 2018

Facilitates #258: allows setting separate lambdas or closures for the getter or setter logic.

Also, catch any RuntimeExceptions thrown from the getter/setter and rethrow wrapped in PicocliException from ArgSpec.getValue/setValue.

Consider passing in the ArgSpec instance to both the getter and the setter.

@remkop remkop added this to the 3.0 milestone Apr 1, 2018
remkop added a commit that referenced this issue Apr 2, 2018
…rethrow wrapped in PicocliException from ArgSpec.getValue/setValue.
@remkop remkop closed this as completed in 82b6054 Apr 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant