Skip to content

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).
@filisko
Copy link
Contributor

filisko commented Feb 8, 2025

Nice one, could you write the tests?

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

2 participants