Aggregate subscriptions return partially stringified JSON responses on MSSQL databases · Issue #10716 · hasura/graphql-engine · GitHub
More Web Proxy on the site http://driver.im/
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Version Information
Server Version: v2.46
Environment
OSS (Docker Compose setup)
What is the current behaviour?
When performing a GraphQL subscription on an MSSQL aggregate table, the response is partially stringified instead of being a proper JSON object.
Specifically, the aggregate result returns a JSON-encoded string rather than a structured JSON object.
For example, executing the following subscription:
Results in:
This issue occurs only with subscriptions. Regular queries behave correctly.
What is the expected behaviour?
The subscription should return a structured JSON object as queries do, for example:
How to reproduce the issue?
Screenshots or Screencast
The subscription returns a partially stringified response:

The query behaves as expected.

Keywords
The text was updated successfully, but these errors were encountered: