Skip to content

[Bug][github_graphql] enableGraphql resets to false despite no value sent in GitHub connection update #8339

@Adisorn-Watt

Description

@Adisorn-Watt

Search before asking

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

What happened

When editing a GitHub connection that enableGraphql = true via the config UI, and saving the changes (such as updating the token). Even though the config UI does not send any of enableGraphql value via the payload, the PATCH API response returns enableGraphql as false. Resulting in the inability to sync GitHub workflow/deployments data which is only available via GitHub Graphql plugin.

Image

Image

What do you expect to happen

The enableGraphql value should remain its original value (true) after editing and saving the connection. It should not automatically change to false.

How to reproduce

  1. Select any GitHub connection with enableGraphql = true (verify via inspect GET connections API).
  2. Edit the connection (e.g., change the token).
  3. Save the changes.
  4. Observe that the PATCH API response returns enableGraphql as false.

Anything else

No additional information

Version

v1.0.1

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    component/config-uiThis issue or PR relates to config-uiseverity/p1This bug affects functionality or significantly affect uxtype/bugThis issue is a bug

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions