hasura / hasura/graphql-engine

server/mssql: Handle stringifying large numbers

Open
#7,309 0 comments 0 reactions 0 assignees View on GitHub
c/server
Dominant language
TypeScript
Stars
32.1k
Forks
3k
PR merge metrics
PR metrics pending

Description

For geometry and geography values, the automatic json encoding on sql server would fail. So we need to convert it to a format the json encoding handles. Ideally we want this representation to be GeoJSON but sql server doesn't have any functions to convert to GeoJSON format. So we return it in WKT format

Contributor guide

Open the contributing guide

Research direction

Start in the server/mssql handling for geometry and geography values and reproduce the automatic JSON-encoding failure described in the issue. Verify that the returned representation is WKT and that SQL Server responses no longer fail during JSON encoding.

Written by the indexing model from the issue text.

Assessment

Tech stack
sql
Domain
database
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.