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

Piped Validators #23

Closed
Nick-Lucas opened this issue Feb 18, 2023 · 0 comments · Fixed by #28 · May be fixed by #27
Closed

Piped Validators #23

Nick-Lucas opened this issue Feb 18, 2023 · 0 comments · Fixed by #28 · May be fixed by #27
Labels
enhancement New feature or request Package: LightType

Comments

@Nick-Lucas
Copy link
Owner

Specific types should be able to chain validators, mostly with: .min .max .length

  • Arrays, Sets, Maps
  • Strings, also: startsWith, endsWith, contains,
  • Numbers, also: int
  • Date

Add these validators as chainables, don't add anything too specialist, that's what pipes are for

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Package: LightType
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant