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

Added the ability to configure which validators are of type "required" #346

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

jefersonralmeida
Copy link

@jefersonralmeida jefersonralmeida commented Sep 21, 2023

Closes #345

Basically, I've converted the variable $require_type_of_rules (that was a hard-coded list of rules that will run even when the field is not present on the input) to a public static property into the configuration section (meaning that those values will be configurable when extending the GUMP class).

…" (means that this validator will run, even if the field is not set on the input).
…" (means that this validator will run, even if the field is not set on the input).
…" (means that this validator will run, even if the field is not set on the input).
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.

Allow customization of required rules
1 participant