Implement mutation to create a new branch in GraphQL
Problem to solve
GitLab has a REST API to create branches, but the functionality is not currently available in GraphQL
Further details
Users can POST /projects/:id/repository/branches
to create a new branch in a repository.
Required attributes:
id integer ID or URL-encoded path of the project owned by the authenticated user.
branch string Name of the branch.
ref string Branch name or commit SHA to create branch from.
Proposal
Add a GraphQL endpoint
Documentation
GraphQL is mostly self-documenting.
Edited by Vasilii Iakliushin