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

Refactor form validation #66

Merged
merged 8 commits into from
Aug 22, 2024
Merged

Refactor form validation #66

merged 8 commits into from
Aug 22, 2024

Conversation

IlliaDerevianko
Copy link
Contributor

  • Removed redundant code by adding a processForm function that parses and validates form inputs
  • Add basic parsers
  • Add basic validators

Copy link
Member

@Gum-Joe Gum-Joe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just some things I noticed

lib/parsers.ts Outdated Show resolved Hide resolved
lib/parsers.ts Show resolved Hide resolved
lib/util/forms.ts Show resolved Hide resolved
lib/types.ts Show resolved Hide resolved
lib/parsers.ts Show resolved Hide resolved
lib/util/forms.ts Show resolved Hide resolved
@IlliaDerevianko IlliaDerevianko merged commit 54aa593 into main Aug 22, 2024
4 checks passed
@alexanderbira alexanderbira deleted the refactor-form-validation branch August 23, 2024 12:29
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.

3 participants