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

fix: pass options to validator in @IsDateString decorator #1720

Merged
merged 2 commits into from
Nov 20, 2022

Conversation

hakimio
Copy link
Contributor

@hakimio hakimio commented Aug 17, 2022

Description

Fixes calling @IsDateString({strict: true}). Currently, it doesn't work because the options are not passed to the underlying validator.

Fixes

references #1061

braaar
braaar previously approved these changes Aug 17, 2022
@hakimio
Copy link
Contributor Author

hakimio commented Aug 17, 2022

@braaar you don't have permission to merge?

@braaar
Copy link
Member

braaar commented Aug 17, 2022

@braaar you don't have permission to merge?

Nope, I'm just a humble member of the community :)

I'm trying to get this repo active again, though. See #1719

@hakimio
Copy link
Contributor Author

hakimio commented Aug 17, 2022

At this point you might just fork the project. It doesn't seem like @NoNameProvided has any plans to work on this anymore.

@braaar
Copy link
Member

braaar commented Aug 17, 2022

I'm hesitant to take it that far. With the amount of stars and weekly downloads this project has, it would be a huge setback and inconvenience for the end users. That's a last resort if the entire Typestack team goes completely AWOL.

@NoNameProvided NoNameProvided changed the title fix: passing options to "IsDateString()" decorator fix: pass options to validator in @IsDateString decorator Nov 20, 2022
@NoNameProvided NoNameProvided merged commit 23071f6 into typestack:develop Nov 20, 2022
@github-actions
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 21, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants