WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 9864994

Browse files
feat: add graphql mode to the query editor (#41425)
## Description Added GraphQL support to the query editor. Fixes #41424 ## Automation /ok-to-test tags="@tag.Datasource" ### 🔍 Cypress test results <!-- This is an auto-generated comment: Cypress test results --> > [!TIP] > 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉 > Workflow run: <https://github.com/appsmithorg/appsmith/actions/runs/19724400241> > Commit: 0a0e95e > <a href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=19724400241&attempt=1" target="_blank">Cypress dashboard</a>. > Tags: `@tag.Datasource` > Spec: > <hr>Thu, 27 Nov 2025 04:22:28 UTC <!-- end of auto-generated comment: Cypress test results --> ## Communication Should the DevRel and Marketing teams inform users about this change? - [ ] Yes - [x] No <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Added GraphQL syntax support to the code editor, enabling proper syntax highlighting and formatting for GraphQL queries and schemas. <sub>✏️ Tip: You can customize this high-level summary in your review settings.</sub> <!-- end of auto-generated comment: release notes by coderabbit.ai -->
1 parent ea67c72 commit 9864994

File tree

1 file changed

+1
-0
lines changed
  • app/client/src/components/editorComponents/CodeEditor

1 file changed

+1
-0
lines changed

app/client/src/components/editorComponents/CodeEditor/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ import "codemirror/addon/hint/sql-hint";
2727
import "codemirror/mode/css/css";
2828
import "codemirror/mode/javascript/javascript";
2929
import "codemirror/mode/htmlmixed/htmlmixed";
30+
import "codemirror-graphql/mode";
3031
import { getDataTreeForAutocomplete } from "selectors/dataTreeSelectors";
3132
import EvaluatedValuePopup from "components/editorComponents/CodeEditor/EvaluatedValuePopup";
3233
import type { WrappedFieldInputProps } from "redux-form";

0 commit comments

Comments
 (0)