-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Return value of type ValidationResult
contains both value and error, which is inconsistent
#2963
Labels
support
Questions, discussions, and general support
Comments
StephanMeijer
changed the title
return value of type
Return value of type Jul 5, 2023
ValidationResult
contains both value and error, which is inconsistent ValidationResult
contains both value and error, which is inconsistent
StephanMeijer
added a commit
to StephanMeijer/joi
that referenced
this issue
Jul 5, 2023
StephanMeijer
added a commit
to StephanMeijer/joi
that referenced
this issue
Jul 5, 2023
StephanMeijer
added a commit
to StephanMeijer/joi
that referenced
this issue
Jul 5, 2023
StephanMeijer
added a commit
to StephanMeijer/joi
that referenced
this issue
Jul 5, 2023
Marsup
added a commit
that referenced
this issue
Aug 27, 2023
#2963 make return value of validate match type definitions
Marsup
pushed a commit
that referenced
this issue
Aug 27, 2023
Closed
FYI This seems to have the side effect that when destructuring the validation result |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Support plan
Context
Types defined as following:
or
What are you trying to achieve or the steps to reproduce?
What was the result you got?
What result did you expect?
The text was updated successfully, but these errors were encountered: