Graphql API: Project's language
Problem to solve
Can't get the project language from GitLab graphql API
User experience goal
the user should be able to get the project's language and primaryLanguage similar to what GitHub does
Proposal
add two fields in the Project type in the graphql API
- languages: an array of the project's language with information like id, name, percentage, color
- primaryLanguage (optional but preferred): the language with the largest percentage with the same information as above
Further details
one use case which I need is to list my GitLab projects on my website with their name, starts, and language