Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dashboard: toml editor #2727

Closed
dbarrosop opened this issue May 27, 2024 · 0 comments · Fixed by #2752
Closed

dashboard: toml editor #2727

dbarrosop opened this issue May 27, 2024 · 0 comments · Fixed by #2752
Assignees

Comments

@dbarrosop
Copy link
Member

dbarrosop commented May 27, 2024

Add a raw toml editor for the configuration.

To get the config:

query {
  configRawJSON(appID: "3bd3a7d5-839d-447b-9eb0-5905b96cc60b", resolve: false)
}

To send it back:

mutation ReplaceConfig($config: ConfigConfigInsertInput!) {
  replaceConfig(appID: "3bd3a7d5-839d-447b-9eb0-5905b96cc60b", config: $config) {
    __typename
  }
}

then as variables:

{
   "config": the-json-with-the-config-goes-here
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants