400 or 422? Designing validation errors for a Symfony API
Symfony 8.2 turns a ValidationFailedException into a 422 response. A good opportunity to revisit what an API should return when a request is invalid: HTTP status codes, the Problem Details format, stable codes and logging.