Resolve project from branch repository
What does this MR do?
The Resolvers::BranchCommitResolver
resolver depends on having branch_project
set in context. Since this resolver is used in the BranchType
this means that the BranchType
can't be used if you don't set the branch_project
context variable. This type was only used in one branch creation mutation so it wasn't a problem. The project can be resolved from the branch object without relying on anything in the context.
Closes #323214 (closed)
Does this MR meet the acceptance criteria?
Conformity
-
📋 Does this MR need a changelog?- I have included a changelog entry.
- N/A I have not included a changelog entry because _____.
- N/A Documentation (if required)
- Code review guidelines
- Merge request performance guidelines
- Style guides
- N/A Database guides
- N/A Separation of EE specific content