-
Notifications
You must be signed in to change notification settings - Fork 11
Deprecate xml simple config #256
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
base: master
Are you sure you want to change the base?
Deprecate xml simple config #256
Conversation
- name: filesize_cap | ||
class: MyApp::Validator::FileSizeCap | ||
param: | ||
- name: max_size |
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.
Would have been nice to have had a hash instead of an array. Are we too far on the 2.x release line?
param:
max_size: 20M
Thinking about the options: maybe we can support both arrays (of hashes with the name/value keys) and plain hashes?
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.
Sound like a path if we do as you suggest, then we could phase out plain hashes with 3.0, but allow for both in 2.X - if I understand your comment correctly
Pull Request Test Coverage Report for Build 13091927006Details
💛 - Coveralls |
action: | ||
- name: CreateUser | ||
class: MyApp::Action::CreateUser | ||
field: |
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.
Same comment as with the validator parameters above. Would have been much nicer to have;
username:
is_required: yes
email:
is_required: yes
@jonasbn I think this is the documentation you were referring to? |
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.
Hi @ehuelsmann
This is approved
@ehuelsmann let me know if you have any additional questions or comments |
Description
Deprecate XML: Warn when used and replace documentation with YAML instead of XML
Closes #125
Type of change
Please delete options that are not relevant.
Checklist: