-
-
Notifications
You must be signed in to change notification settings - Fork 234
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 dry-validation contract support #238
Add dry-validation contract support #238
Conversation
👍 looks ok to me. Should probably fix up the code climate stuff though. |
@pkuczynski @rdubya which of these do you want me to address? https://codeclimate.com/github/railsconfig/config/pull/238# For the |
Some minor updates
@@ -23,7 +24,8 @@ module Config | |||
knockout_prefix: nil, | |||
merge_nil_values: true, | |||
overwrite_arrays: true, | |||
merge_hash_arrays: false | |||
merge_hash_arrays: false, | |||
validation_contract: nil |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am still wondering if we should call it validation_contract
or simply contract
. @pyromaniac @rdubya @supremebeing7 what you think?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm in favor of being explicit - validation_contract
@ryanwjackson would 67624d4 makes sense to you? |
@pkuczynski Makes sense. Just fixed the keyword passing. |
Looks good to me. Waiting for tests to pass and I will merge it in! |
Fix #237
@pkuczynski Please let me know if there is anything missing or you would like changed.