[PR #4549] [MERGED] HSB-500 fix: returning introspection complexity to 0 #4851

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

📋 Pull Request Information

Original PR: https://github.com/hoppscotch/hoppscotch/pull/4549
Author: @mirarifhasan
Created: 11/18/2024
Status: Merged
Merged: 11/25/2024
Merged by: @jamesgeorge007

Base: nextHead: fix/gql-introspection-complexity


📝 Commits (3)

  • 84b259a fix: returning introspection complexity to 0
  • d930c88 chore: improve introspection query complexity check
  • 6127b72 Revert "chore: improve introspection query complexity check"

📊 Changes

1 file changed (+9 additions, -0 deletions)

View changed files

📝 packages/hoppscotch-backend/src/plugins/GQLComplexityPlugin.ts (+9 -0)

📄 Description

Closes HSB-500

What's changed

This fix PR handles the breaking changes of graphql-query-complexity.

For the introspection query, now returning 0 value as mentioned in the release note.

Notes to reviewers

Nil


🔄 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/4549 **Author:** [@mirarifhasan](https://github.com/mirarifhasan) **Created:** 11/18/2024 **Status:** ✅ Merged **Merged:** 11/25/2024 **Merged by:** [@jamesgeorge007](https://github.com/jamesgeorge007) **Base:** `next` ← **Head:** `fix/gql-introspection-complexity` --- ### 📝 Commits (3) - [`84b259a`](https://github.com/hoppscotch/hoppscotch/commit/84b259ab8e83b037c142fd97b3feee72128f3d44) fix: returning introspection complexity to 0 - [`d930c88`](https://github.com/hoppscotch/hoppscotch/commit/d930c884f8b7272037bf866170dd69af0a9b2008) chore: improve introspection query complexity check - [`6127b72`](https://github.com/hoppscotch/hoppscotch/commit/6127b7279cf466f17e021a8d3dc9618ca2e3b8e7) Revert "chore: improve introspection query complexity check" ### 📊 Changes **1 file changed** (+9 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `packages/hoppscotch-backend/src/plugins/GQLComplexityPlugin.ts` (+9 -0) </details> ### 📄 Description <!-- Thanks for creating this pull request 🤗 Please make sure that the pull request is limited to one type (docs, feature, etc.) and keep it as small as possible. You can open multiple prs instead of opening a huge one. --> <!-- If this pull request closes an issue, please mention the issue number below --> <!-- Issue # here --> Closes HSB-500 <!-- Add an introduction into what this PR tries to solve in a couple of sentences --> ### What's changed <!-- Describe point by point the different things you have changed in this PR --> This fix PR handles the breaking changes of [graphql-query-complexity](https://github.com/slicknode/graphql-query-complexity/releases/tag/v1.0.0). For the introspection query, now returning 0 value as mentioned in the release note. <!-- You can also choose to add a list of changes and if they have been completed or not by using the markdown to-do list syntax - [ ] Not Completed - [x] Completed --> ### Notes to reviewers <!-- Any information you feel the reviewer should know about when reviewing your PR --> Nil --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-17 02:21:07 +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#4851
No description provided.