[PR #90] Make it possible to request a subscription with empty fields #94

Open
opened 2026-03-03 00:03:23 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/atulmy/gql-query-builder/pull/90
Author: @pascal-klesse
Created: 12/8/2023
Status: 🔄 Open

Base: masterHead: patch-1


📝 Commits (1)

📊 Changes

1 file changed (+3 additions, -4 deletions)

View changed files

📝 src/adapters/DefaultSubscriptionAdapter.ts (+3 -4)

📄 Description

This changes will made it possible to request a subscription with return type string and without fields.

Before:

subscription {
   events {
  }
}

After:

subscription {
   events
}

🔄 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/atulmy/gql-query-builder/pull/90 **Author:** [@pascal-klesse](https://github.com/pascal-klesse) **Created:** 12/8/2023 **Status:** 🔄 Open **Base:** `master` ← **Head:** `patch-1` --- ### 📝 Commits (1) - [`3b858c1`](https://github.com/atulmy/gql-query-builder/commit/3b858c1af148d1d3cde11ea17673d682bada8b2f) Fix empty fields request ### 📊 Changes **1 file changed** (+3 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `src/adapters/DefaultSubscriptionAdapter.ts` (+3 -4) </details> ### 📄 Description This changes will made it possible to request a subscription with return type string and without fields. Before: ``` subscription { events { } } ``` After: ``` subscription { events } ``` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
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/gql-query-builder#94
No description provided.