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

General: Review core validators and extension method validators (duplicated behaviour) #131

Open
1 task done
deandreamatias opened this issue Aug 23, 2024 · 0 comments
Open
1 task done
Labels
enhancement New feature or request

Comments

@deandreamatias
Copy link
Contributor

Is there an existing issue for this?

  • I have searched the existing issues

Package/Plugin version

11.0.0

What you'd like to happen

I think that some core validators could be accomplish with extension methods and viceversa. Maybe can remove some of them.

Alternatives you've considered

Example: skipWhen
I understand that `FormBuilderValidators.skipWhen(validator: FormBuilderValidators.numeric(), condition: (int? value) => value == 0)` is the same that `FormBuilderValidators.numeric().skipWhen(condition: (int? value) => value == 0)`

Aditional information

No response

@deandreamatias deandreamatias added the enhancement New feature or request label Aug 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant