Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia
TypeScript apiapi-clientapi-restapi-testingdeveloper-toolsgraphqlhttphttp-clientpwarestrest-apispatestingtesting-toolstoolsvuevuejswebsocket
feat: graphql mode for schema editor
liyasthomasfe6030140ff4
diff --git a/components/graphql/Sidebar.vue b/components/graphql/Sidebar.vueindex e1b0a0c1b..680f1acba 100644--- a/components/graphql/Sidebar.vue+++ b/components/graphql/Sidebar.vue@@ -220,6 +220,7 @@ import {setGQLURL,setGQLVariables,} from "~/newstore/GQLSession"+import "~/helpers/editor/modes/graphql"function isTextFoundInGraphqlFieldObject(text: string,@@ -396,7 +397,7 @@ useCodemirror(schemaString,reactive({extendedEditorConfig: {- mode: "application/ld+json",+ mode: "graphql",readOnly: true,lineWrapping: linewrapEnabled,},diff --git a/pages/documentation.vue b/pages/documentation.vueindex e0394dff9..2feb14210 100644--- a/pages/documentation.vue+++ b/pages/documentation.vue@@ -64,10 +64,9 @@<textarea-autosizeid="import-curl"v-model="collectionJSON"- class="font-mono p-4"+ class="font-mono p-4 bg-primary"autofocusrows="8"- placeholder=" "/><divclass="