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

Add value param option to ModelProp for convenience #268

Merged
merged 1 commit into from
Sep 3, 2017

Conversation

elihart
Copy link
Contributor

@elihart elihart commented Aug 24, 2017

#266

This lets us write @ModelProp(Option.DoNotHash) instead of @ModelProp(options = Option.DoNotHash)

both ways are now supported though, in case another param besides options is also set

Copy link

@carolineleung carolineleung left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, love the convenient shortcut!

@elihart elihart merged commit 6533ee9 into master Sep 3, 2017
@elihart elihart deleted the eli-model_prop_options_param_value branch September 3, 2017 18:13
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

Successfully merging this pull request may close these issues.

None yet

3 participants