Uh oh!
There was an error while loading. Please reload this page.
isExact feature along with its tests and readme changes - #1938
Closed
Carlos-Gaxiola wants to merge 4 commits into
Closed
isExact feature along with its tests and readme changes#1938Carlos-Gaxiola wants to merge 4 commits into
Carlos-Gaxiola wants to merge 4 commits into
Conversation
WikiRik
commented
Mar 10, 2022
Member
Why not make this an option in the isLength validator? So you can do |
Carlos-Gaxiola
commented
Mar 10, 2022
Author
Nice approach, I will work in that and commit my changes :) |
Carlos-Gaxiola
commented
Mar 15, 2022
Author
WikiRik
commented
Mar 21, 2022
Member
Would it be possible that we also have |
chashamsarao
commented
Oct 2, 2022
Hello, I am interested in making a contribution towards resolving this issue @WikiRik. I need some guidance.. |
WikiRik
commented
Oct 2, 2022
Member
This feature has been implemented in #2019 but thanks for the offer! |
WikiRik
commented
Mar 27, 2025
Member
This feature should be added in #2474 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

This solves #1937
Added a new feature called "isExact", this is related to "isLength", in "isLength" we provide a minimum and maximum value of the given string, in this new feature, we can provide the exact size or sizes we require our string to be.
I added a new file called "isExact" with this feature, also I added some tests and updated the readme
Checklist