After upgrading to 2.5.5, Apigility validators are not showing expected error message for required fields if error_message is not set. Previously, it was showing the error message from a NotEmpty validator if present in the validator chain.
I think the newly introduced prepareRequiredValidationFailureMessage() method should return existing NotEmpty validator message, if present in the validator chain.
After upgrading to 2.5.5, Apigility validators are not showing expected error message for required fields if error_message is not set. Previously, it was showing the error message from a NotEmpty validator if present in the validator chain. I think the newly introduced prepareRequiredValidationFailureMessage() method should return existing NotEmpty validator message, if present in the validator chain.