[PR #2846] [MERGED] fix: linting erroring out on graphql queries #4107

Closed
opened 2026-03-17 01:40:26 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hoppscotch/hoppscotch/pull/2846
Author: @amk-dev
Created: 10/31/2022
Status: Merged
Merged: 10/31/2022
Merged by: @AndrewBastin

Base: mainHead: fix/graphql-linter-issue


📝 Commits (1)

  • 50e5b2b fix: fix issue with linting on graphql

📊 Changes

1 file changed (+2 additions, -2 deletions)

View changed files

📝 packages/hoppscotch-app/src/helpers/editor/linting/gqlQuery.ts (+2 -2)

📄 Description

fixes HOPPSCOTCH-APP-33

Before

  1. Go to the graphql page
  2. Connect
  3. Send a valid request
  4. Make some spelling errors
  5. Send the request
  6. We get a Mark decorations may not be empty error

After

This PR fixes it


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/hoppscotch/hoppscotch/pull/2846 **Author:** [@amk-dev](https://github.com/amk-dev) **Created:** 10/31/2022 **Status:** ✅ Merged **Merged:** 10/31/2022 **Merged by:** [@AndrewBastin](https://github.com/AndrewBastin) **Base:** `main` ← **Head:** `fix/graphql-linter-issue` --- ### 📝 Commits (1) - [`50e5b2b`](https://github.com/hoppscotch/hoppscotch/commit/50e5b2b81c53049a9f4b8afc693cb9333978c9f3) fix: fix issue with linting on graphql ### 📊 Changes **1 file changed** (+2 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `packages/hoppscotch-app/src/helpers/editor/linting/gqlQuery.ts` (+2 -2) </details> ### 📄 Description fixes HOPPSCOTCH-APP-33 **Before** 1. Go to the graphql page 2. Connect 3. Send a valid request 4. Make some spelling errors 5. Send the request 6. We get a `Mark decorations may not be empty` error **After** This PR fixes it --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-17 01:40:26 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#4107
No description provided.