Skip to content

Deprecate `http_status` in ServiceResponse object

Fabio Pitino requested to merge deprecate-http-status-in-service-response into master

What does this MR do and why?

Related to #356036 (closed)

After Add `reason` attribute to ServiceResponse (!97541 - merged) we are now adding a Rubocop 👮 that detects uses of http_status parameter in ServiceResponse and fires and offence in favour of using the new reason attribute.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Fabio Pitino

Merge request reports