-
-
Notifications
You must be signed in to change notification settings - Fork 601
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
Use a time provider to get the current system time #139
Labels
Milestone
Comments
Does anyone have a suggestion for the package that can be used for this (wouldn't make sense to provide that interface here IMO)? |
Depends on #129 (sure) |
lcobucci
added a commit
that referenced
this issue
May 7, 2017
So that we can separate the constraint initialisation from the the validation itself and then be able to map validation constraints in a dependency injection container. Closes #139
lcobucci
added a commit
that referenced
this issue
May 7, 2017
So that we can separate the constraint initialisation from the validation itself and then be able to map validation constraints in a dependency injection container. Closes #139
@lcobucci checked now, patch LGTM! 👍 |
Horikawaer
added a commit
to Horikawaer/jwt
that referenced
this issue
Nov 3, 2022
So that we can separate the constraint initialisation from the validation itself and then be able to map validation constraints in a dependency injection container. Closes lcobucci/jwt#139
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
With that we wouldn't allow
null
on methods that receives aDateTimeInterface
, inject the time provider on the validation constraints and also on the configuration object.The text was updated successfully, but these errors were encountered: