FEA-Bench / testbed /deepset-ai__haystack /releasenotes /notes /conditional-routes-validation-b46fc506d35894d4.yaml
| enhancements: | |
| - | | |
| Add output type validation in `ConditionalRouter`. | |
| Setting `validate_output_type` to `True` will enable a check to verify if | |
| the actual output of a route returns the declared type. | |
| If it doesn't match a `ValueError` is raised. | |