Allow partially implemented tests in ParsedValue types
When writing composable ParsedValue types, it's common not to implement all possible operations, e.g. you may only care about parse but not test. This could lead to unexpected failures in the past because even in a parse operation, we would test the resulting value if a test was provided. We now ignore failures caused by calling test as part of a parse operation if the failure is caused by the test type not fully implementing the test operation.
Change Log for funtypes (5.0.2 → 5.0.3)
Bug Fixes
Allow partially implemented
test
s inParsedValue
typesWhen writing composable
ParsedValue
types, it's common not to implement all possible operations, e.g. you may only care aboutparse
but nottest
. This could lead to unexpected failures in the past because even in aparse
operation, we wouldtest
the resulting value if atest
was provided. We now ignore failures caused by callingtest
as part of aparse
operation if the failure is caused by thetest
type not fully implementing thetest
operation.Edit changelog