pd4d10 / git-touch

An open-source app for GitHub, GitLab, Bitbucket, Gitea, and Gitee(码云), built with Flutter
Apache License 2.0
1.56k stars 138 forks source link

gitlab: move to graphql #173

Open shreyas1599 opened 3 years ago

shreyas1599 commented 3 years ago

@pd4d10 I've started working on this if it's alright (I pulled your changes from #171)

pd4d10 commented 3 years ago

Considering there are many self-hosted versions, in which some are legacy versions (without GraphQL API), perhaps we should hold this for a while.

shreyas1599 commented 3 years ago

Considering there are many self-hosted versions, in which some are legacy versions (without GraphQL API), perhaps we should hold this for a while.

Hi, not sure I understand this. If the self-hosted version works on REST it should work on GraphQL right? Can you give an example of where/why it might not work?

pd4d10 commented 3 years ago

image

https://docs.gitlab.com/ee/api/graphql/

It is only enabled by default in the versions greater than 12.1. It should work in https://gitlab.com, but I'm not sure if our users' self-hosted GitLab matches this condition.