Skip to content

[Feature][GitHub] Always use GraphQLΒ #8662

@jekader

Description

@jekader

Search before asking

  • I had searched in the issues and found no similar feature requirement.

Use case

I have a pre-existing GitHub connection using the deprecated GitHub API, It is affected by the zero datetime bug which will not get fixed. There is no way of changing the connection to make it use GraphQL - only by re-creating or manually editing the DB.

Description

There is no way of using the GitHub API for new GitHub connections since #7784 however existing connections created on older DevLake versions may still use it and there is no way of changing that from the UI. The old API is deprecated and the code is broken so the proposal is to use GraphQL always even if the DB has enable_graphql=0 set.

Once that is done, the old code can be removed along with the DB field.

Related issues

No response

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    component/pydevlakeRelates to the Python framework and/or plugin.priority/mediumThis issue is medium importanttype/feature-requestThis issue is a proposal for something new

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions