Passing the typedesc as a param to the constraint() method returns ()
in success case
#3107
Labels
module/constraint
Reason/EngineeringMistake
The issue occurred due to a mistake made in the past.
Type/Bug
Description:
$subject. In HTTP, the expected type is coming from an HTTP API, hence constraint method cannot infer the expected type from the LHS. So when the expected type was passed as the second param, the validation happens and return
()
Steps to reproduce:
Affected Versions:
1.0.0-20220711-153400-5cab109
The text was updated successfully, but these errors were encountered: