hasura / hasura/graphql-engine

MS SQL Server table/column comments are not used in the generated GraphQL schema

Open
#9,816 1 comment 0 reactions 0 assignees View on GitHub
k/bug t/native-dbs
Dominant language
TypeScript
Stars
32.1k
Forks
3k
PR merge metrics
PR metrics pending

Description

### Version Information

### Environment

Cloud/ OSS / EE

### What is the current behaviour?

Table and column comments in SQL server are not included in the generated GraphQL schema, and therefore don't show up in in the API explorer (like they do for Postgres).

_Table and column comments definition_
sql-server-comments-in-table-and-column

_Table and column comments missing in the API explorer and the schema_
missing-comments-in-api-explorer

comments missing in graphql schema

### What is the expected behaviour?
Table and column comments in SQL server are used in the GraphQL schema (like for Postgres).

### How to reproduce the issue?

1. Add comments to a SQL server table and/or column.
2. check out the generated graphql schema.

### Keywords

sql server comments schema

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue by adding comments to a SQL Server table and column, then inspect the generated GraphQL schema and API explorer. Compare the SQL Server result with PostgreSQL, and consider the issue complete when both table and column comments appear in the generated schema and explorer.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.