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

feat: extend validators to support more kinds/types #179

Merged
merged 7 commits into from
Jul 28, 2024

Conversation

hay-kot
Copy link
Owner

@hay-kot hay-kot commented Jun 20, 2024

closes #177
closes #142

To Do's

  • Review/Remove Generics? - I don't think they're necessary
  • Attempt to combine validator logic
  • Tests for new validators
  • docs

message?: string;
}
/**
* min is the minimum value that the user's input must be greater than or equal to.

Choose a reason for hiding this comment

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

clarify that if the input type is a string, this is the minimum length of the string, if it's a list, it's the minimum number of items in the list, and what about other datatypes?

Copy link

@alexeagle alexeagle left a comment

Choose a reason for hiding this comment

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

Neat, thanks!

@hay-kot hay-kot marked this pull request as ready for review July 28, 2024 14:10
@hay-kot hay-kot merged commit 23da436 into main Jul 28, 2024
1 check passed
@hay-kot hay-kot deleted the feat/extended-validation branch August 22, 2024 17:43
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 multiselect validation Extend Prompt Validation Support
2 participants