[PR #5350] [MERGED] fix: prevent GQL request failure caused by collection property computation #5175

Closed
opened 2026-03-17 02:38:45 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hoppscotch/hoppscotch/pull/5350
Author: @nivedin
Created: 8/26/2025
Status: Merged
Merged: 8/27/2025
Merged by: @jamesgeorge007

Base: nextHead: fix/gql-auth-bug


📝 Commits (6)

  • 9fa76b3 fix: undefined auth gql bug
  • 9f3c1d3 fix: auth not passing in interceptors
  • 79464bc chore: remove type cast
  • 358b99a chore: add scope for undefined type for auth
  • ecdf971 refactor: leverage optional field syntax
  • ee1b182 refactor: use shorthand notation

📊 Changes

2 files changed (+17 additions, -13 deletions)

View changed files

📝 packages/hoppscotch-common/src/components/graphql/RequestOptions.vue (+4 -9)
📝 packages/hoppscotch-common/src/helpers/graphql/connection.ts (+13 -4)

📄 Description

This PR fixes the issue where GQL section crashed when auth was undefined


🔄 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/5350 **Author:** [@nivedin](https://github.com/nivedin) **Created:** 8/26/2025 **Status:** ✅ Merged **Merged:** 8/27/2025 **Merged by:** [@jamesgeorge007](https://github.com/jamesgeorge007) **Base:** `next` ← **Head:** `fix/gql-auth-bug` --- ### 📝 Commits (6) - [`9fa76b3`](https://github.com/hoppscotch/hoppscotch/commit/9fa76b3e63377297a3b37288291706c78ae5173b) fix: undefined auth gql bug - [`9f3c1d3`](https://github.com/hoppscotch/hoppscotch/commit/9f3c1d3650ca739d7988c83f7a8ec50cef7e3342) fix: auth not passing in interceptors - [`79464bc`](https://github.com/hoppscotch/hoppscotch/commit/79464bc7860436b19eda7bee5f9937c30393aed6) chore: remove type cast - [`358b99a`](https://github.com/hoppscotch/hoppscotch/commit/358b99ab04823759d180ca124e3ce65a9ed486b6) chore: add scope for undefined type for auth - [`ecdf971`](https://github.com/hoppscotch/hoppscotch/commit/ecdf971231a2b13eb1b676fbf91232ac2426f41d) refactor: leverage optional field syntax - [`ee1b182`](https://github.com/hoppscotch/hoppscotch/commit/ee1b182c3771efb1e33c686b0322320943ba86b3) refactor: use shorthand notation ### 📊 Changes **2 files changed** (+17 additions, -13 deletions) <details> <summary>View changed files</summary> 📝 `packages/hoppscotch-common/src/components/graphql/RequestOptions.vue` (+4 -9) 📝 `packages/hoppscotch-common/src/helpers/graphql/connection.ts` (+13 -4) </details> ### 📄 Description This PR fixes the issue where GQL section crashed when auth was undefined --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-17 02:38:45 +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#5175
No description provided.