Skip to content

Refactor ForkService class

Vasilii Iakliushin requested to merge 346563_refactor_fork_service into master

What does this MR do and why?

Contributes to #346563 (closed)

Problem

ForkService class returns a Project object (correct and saved or invalid and nonpersisted). This flow doesn't match a service class expectation to return a ServiceResponse method.

Solution

  • Migrate ForkService#execute to return a ServiceResponse object.
  • Update code that uses ForkService to accept a new return type

How to set up and validate locally

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

Merge request reports