You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
proTES keeps FOCA's validation reason as detail (exceptions.validation_reasons: true in pro_tes/config.yaml, as up to FOCA 0.21). tests/test_app.py::test_validation_details covers that setting, but nothing tests what deployments get when an overlay sets exceptions.validation_reasons: false (FOCA 0.22's default: invalid fields named by location and code, without the rejected values).
Proposal
Add a test with an overlay that sets exceptions.validation_reasons: false: an invalid task still gets 400, the detail no longer quotes the validator's reason, and the response names the invalid field (errors).
Activity