Skip to content

Make inapplicable_reason text to be reusable

Patrick Bajao requested to merge 225617-refactor-inapplicable-reason into master

What does this MR do?

We also need to display the inapplicable_reason text in another place (Gitlab::Suggestions::SuggestionSet).

There's no need to return inapplicable_reason as symbol for now so it was converted to return text instead.

In preparation for !37267 (merged).

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • [-] Label as security and @ mention @gitlab-com/gl-security/appsec
  • [-] The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • [-] Security reports checked/validated by a reviewer from the AppSec team

#225617 (closed)

Edited by Patrick Bajao

Merge request reports