Skip to content

Remove unused prop injections and prefer injection over props

Savas Vedova requested to merge 328230-move-props-to-inject into master

What does this MR do?

This is a simple follow up from this discussion. We mostly use provide instead of props. The pipeline property is the only property that is injected. By moving that to provide the code looks simpler. This MR also removes a few unused prop injections.

Screenshots (strongly suggested)

There are no visual changes.

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

Related to #328230 (closed)

Merge request reports